Skip to content

Commit

Permalink
remove manual install step
Browse files Browse the repository at this point in the history
  • Loading branch information
mrm007 committed Sep 8, 2022
1 parent 0a0b895 commit 3d4f75b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 12 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,15 @@ jobs:
fetch-depth: 0
token: ${{ secrets.SEEK_OSS_CI_GITHUB_TOKEN }}

- uses: pnpm/action-setup@v2

- name: Setup Node.js
uses: actions/setup-node@main
with:
node-version-file: '.nvmrc'
cache: 'pnpm'

- name: Install Dependencies
run: pnpm install
- uses: pnpm/action-setup@v2
with:
run_install: true

- name: Create release PR or publish to npm
uses: changesets/action@c2918239208f2162b9d27a87f491375c51592434
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,15 @@ jobs:
fetch-depth: 0
token: ${{ secrets.SEEK_OSS_CI_GITHUB_TOKEN }}

- uses: pnpm/action-setup@v2

- name: Setup Node.js
uses: actions/setup-node@main
with:
node-version-file: '.nvmrc'
cache: 'pnpm'

- name: Install Dependencies
run: pnpm install
- uses: pnpm/action-setup@v2
with:
run_install: true

- name: Build
run: pnpm build
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,15 @@ jobs:
fetch-depth: 0
token: ${{ secrets.SEEK_OSS_CI_GITHUB_TOKEN }}

- uses: pnpm/action-setup@v2

- name: Setup Node.js
uses: actions/setup-node@main
with:
node-version-file: '.nvmrc'
cache: 'pnpm'

- name: Install Dependencies
run: pnpm install
- uses: pnpm/action-setup@v2
with:
run_install: true

- name: Build
run: |
Expand Down

0 comments on commit 3d4f75b

Please sign in to comment.