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

View File

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

View File

@ -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
''; '';
} }

2069
yarn.lock

File diff suppressed because it is too large Load Diff