feat: update colonyNetwork hash #15
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Create or add to release PR | |
on: | |
push: | |
branches: [main] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: 'recursive' | |
- uses: pnpm/action-setup@v3 | |
with: | |
version: 8.15.8 | |
- name: Setup node | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: '.nvmrc' | |
cache: 'pnpm' | |
registry-url: 'https://registry.npmjs.org' | |
- name: Cache NPM dependencies | |
uses: actions/cache@v3 | |
id: cache | |
with: | |
path: node_modules | |
key: ${{ runner.os }}-node-${{ hashFiles('pnpm-lock.yaml') }} | |
- name: Install dependencies | |
if: steps.cache.outputs.cache-hit != 'true' | |
run: pnpm install --frozen-lockfile | |
- name: Install dependencies for colonyNetwork | |
working-directory: ./vendor/colonyNetwork | |
run: | | |
git config url."https://".insteadOf "ssh://git@" | |
pnpm install --frozen-lockfile | |
- name: Compile colonyNetwork contracts | |
working-directory: ./vendor/colonyNetwork | |
run: npx hardhat compile | |
- run: pnpm run build | |
- uses: google-github-actions/release-please-action@v4 | |
with: | |
release-type: node |