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