Skip to content

Commit

Permalink
ci: pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
VirgilClyne committed Nov 4, 2024
1 parent 4524d17 commit 12100bb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ jobs:
uses: actions/setup-node@main
with:
node-version: 'latest'
cache: 'npm'
cache: 'pnpm'
- name: Install dependencies
run: npm install
run: pnpm install
env:
NODE_AUTH_TOKEN: ${{ secrets.PACKAGE_TOKEN }}
- name: Update local package.json version from release tag
Expand All @@ -33,9 +33,9 @@ jobs:
keep-v: "false" # If set to "true", will not remove any 'v' prefix from the version number.
ignore-semver-check: "false" # If set to "true", will not check if the version number is a valid semver version.
- name: Build scripts
run: npm run build
run: pnpm build
- name: Generate modules
run: npm run build:args
run: pnpm build:args
- name: Upload artifact
uses: actions/upload-artifact@master
with:
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ jobs:
uses: actions/setup-node@main
with:
node-version: 'latest'
cache: 'npm'
cache: 'pnpm'
- name: Install dependencies
run: npm install
run: pnpm install
env:
NODE_AUTH_TOKEN: ${{ secrets.PACKAGE_TOKEN }}
- name: Build
run: npm run build:dev
run: pnpm build:dev
- name: Upload artifact
uses: actions/upload-artifact@master
with:
Expand Down

0 comments on commit 12100bb

Please sign in to comment.