chore: switch from yarn to npm

This commit is contained in:
Lucien Cartier-Tilet 2024-06-27 07:56:08 +02:00
parent 885ea712d0
commit 45bb8edffd
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA
4 changed files with 6 additions and 2079 deletions

View File

@ -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:

View File

@ -10,6 +10,5 @@
},
"devDependencies": {
"vitepress": "^1.0.0-rc.45"
},
"packageManager": "yarn@4.1.1"
}
}

View File

@ -1,9 +1,8 @@
{ pkgs ? import <nixpkgs> {} }:
pkgs.mkShell {
nativeBuildInputs = with pkgs.buildPackages; [
corepack
nativeBuildInputs = with pkgs; [
nodejs_20
];
shellHook = ''
yarn set version stable
'';
}

2069
yarn.lock

File diff suppressed because it is too large Load Diff