Skip to content

Commit

Permalink
cicd: move to pnpm entirely
Browse files Browse the repository at this point in the history
  • Loading branch information
chmanie committed May 29, 2024
1 parent 358df4e commit c58c404
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release-snapshot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:

- uses: pnpm/action-setup@v3
with:
version: 8.15.6
version: 8.15.8

- name: Setup node
uses: actions/setup-node@v4
Expand All @@ -51,7 +51,7 @@ jobs:

- name: Install dependencies for colonyNetwork
working-directory: ./vendor/colonyNetwork
run: npm ci
run: pnpm install --frozen-lockfile

- name: Compile colonyNetwork contracts
working-directory: ./vendor/colonyNetwork
Expand Down
13 changes: 9 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,16 @@ jobs:
with:
submodules: 'recursive'

- uses: pnpm/action-setup@v3
with:
version: 8.15.8

- name: Setup node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'npm'
cache: 'pnpm'
registry-url: 'https://registry.npmjs.org'

- name: Cache NPM dependencies
uses: actions/cache@v3
Expand All @@ -32,13 +37,13 @@ jobs:

- name: Install dependencies for colonyNetwork
working-directory: ./vendor/colonyNetwork
run: npm ci
run: pnpm install --frozen-lockfile

- name: Compile colonyNetwork contracts
working-directory: ./vendor/colonyNetwork
run: npx hardhat compile

- run: npm run build
- run: pnpm run build

- uses: google-github-actions/release-please-action@v4
with:
Expand Down

0 comments on commit c58c404

Please sign in to comment.