Skip to content

Commit

Permalink
Update pnpm install action (#267)
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelSwigerAtBentley authored Oct 29, 2024
1 parent 025ad5b commit 1934666
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ jobs:
- name: Setup node
uses: actions/setup-node@v2
with:
node-version: '18.12.0'
node-version: "18.12.0"

- name: Setup pnpm
uses: pnpm/action-setup@v2
uses: pnpm/action-setup@v4
with:
version: 8
version: latest

- name: Install packages
run: pnpm install
Expand Down
9 changes: 4 additions & 5 deletions .github/workflows/create-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@

name: Create Release

on:
workflow_dispatch
on: workflow_dispatch

jobs:
release-packages:
Expand All @@ -17,9 +16,9 @@ jobs:
token: ${{ secrets.IMJS_ADMIN_GH_TOKEN }}

- name: Install pnpm
uses: pnpm/action-setup@v2.2.4
uses: pnpm/action-setup@v4
with:
version: 8
version: latest

- name: Use Node.js 18
uses: actions/setup-node@v3
Expand All @@ -39,4 +38,4 @@ jobs:
git config --local user.name imodeljs-admin
pnpm publish-packages -y --branch ${{ github.ref_name }} --message "Version bump [skip actions][publish docs]"
env:
NODE_AUTH_TOKEN: ${{ secrets.NPMJS_PUBLISH_ITWIN }}
NODE_AUTH_TOKEN: ${{ secrets.NPMJS_PUBLISH_ITWIN }}

0 comments on commit 1934666

Please sign in to comment.