Skip to content

Commit c9b7f93

Browse files
committed
build: moved from yarn to npm
1 parent 96255fa commit c9b7f93

7 files changed

Lines changed: 16010 additions & 36287 deletions

File tree

.github/workflows/npm.yml

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -12,23 +12,17 @@ jobs:
1212
- name: Checkout
1313
uses: actions/checkout@v4
1414

15-
- name: Enable Corepack
16-
run: corepack enable
17-
1815
- name: Setup Node
1916
uses: actions/setup-node@v4
2017
with:
2118
node-version: '21.6'
19+
cache: 'npm'
2220

23-
- name: Cache node_modules
24-
uses: actions/cache@v4
25-
with:
26-
path: node_modules
27-
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
28-
restore-keys: ${{ runner.os }}-yarn-
21+
- name: Install dependencies
22+
run: npm ci
2923

3024
- name: Build
31-
run: yarn install --immutable && yarn build
25+
run: npm run build
3226

3327
- name: Set up .npmrc file for authentication
3428
run: echo "registry=https://registry.npmjs.org/" >> .npmrc && echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" >> .npmrc

.pnp.cjs

Lines changed: 0 additions & 22801 deletions
This file was deleted.

0 commit comments

Comments
 (0)