chore: switch from yarn to npm
This commit is contained in:
parent
885ea712d0
commit
45bb8edffd
@ -19,13 +19,11 @@ jobs:
|
||||
- name: Setup Node
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 18.x
|
||||
- name: Enable corepack and yarn
|
||||
run: corepack enable
|
||||
node-version: 20.x
|
||||
- name: Install dependencies
|
||||
run: yarn install --frozen-lockfile
|
||||
run: npm ci
|
||||
- name: Build with VitePress
|
||||
run: yarn build
|
||||
run: npm run build
|
||||
- name: Deploy on the web
|
||||
uses: appleboy/scp-action@v0.1.7
|
||||
with:
|
||||
|
@ -10,6 +10,5 @@
|
||||
},
|
||||
"devDependencies": {
|
||||
"vitepress": "^1.0.0-rc.45"
|
||||
},
|
||||
"packageManager": "yarn@4.1.1"
|
||||
}
|
||||
}
|
||||
|
@ -1,9 +1,8 @@
|
||||
{ pkgs ? import <nixpkgs> {} }:
|
||||
pkgs.mkShell {
|
||||
nativeBuildInputs = with pkgs.buildPackages; [
|
||||
corepack
|
||||
nativeBuildInputs = with pkgs; [
|
||||
nodejs_20
|
||||
];
|
||||
shellHook = ''
|
||||
yarn set version stable
|
||||
'';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user