diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b2eb633b..e123596a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,10 +23,11 @@ jobs: steps: - uses: actions/checkout@v3 with: + node-version: '20.11.0' ref: ${{ github.event.pull_request.head.sha }} - uses: actions/setup-node@v3 with: - node-version: '18.16.1' + node-version: '20.11.0' cache: 'yarn' - run: yarn install --frozen-lockfile @@ -34,8 +35,9 @@ jobs: run: yarn compile - name: Save build artifacts - uses: actions/upload-artifact@v3 + uses: actions/upload-artifact@v4 with: + node-version: '20.11.0' name: contract-artifacts path: | artifacts @@ -49,10 +51,11 @@ jobs: steps: - uses: actions/checkout@v3 with: + node-version: '20.11.0' ref: ${{ github.event.pull_request.head.sha }} - uses: actions/setup-node@v3 with: - node-version: '18.16.1' + node-version: '20.11.0' cache: 'yarn' - run: yarn install --frozen-lockfile @@ -73,16 +76,18 @@ jobs: steps: - uses: actions/checkout@v3 with: + node-version: '20.11.0' ref: ${{ github.event.pull_request.head.sha }} - uses: actions/setup-node@v3 with: - node-version: '18.16.1' + node-version: '20.11.0' cache: 'yarn' - run: yarn install --frozen-lockfile - run: yarn coverage - uses: codecov/codecov-action@v3 with: + node-version: '20.11.0' token: ${{ secrets.CODECOV_TOKEN }} @@ -106,6 +111,7 @@ jobs: # steps: # - uses: actions/checkout@v3 # with: + # node-version: '20.11.0' # ref: ${{ github.event.pull_request.head.sha }} # fetch-depth: 0 @@ -177,10 +183,11 @@ jobs: # steps: # - uses: actions/checkout@v3 # with: + # node-version: '20.11.0' # ref: ${{ github.event.pull_request.head.sha }} # - uses: actions/setup-node@v3 # with: - # node-version: '18.16.1' + # node-version: '20.11.0' # cache: 'yarn' # - run: yarn install --frozen-lockfile @@ -226,10 +233,11 @@ jobs: # steps: # - uses: actions/checkout@v3 # with: + # node-version: '20.11.0' # ref: ${{ needs.deploy.outputs.deploy_commit || github.event.pull_request.head.sha }} # - uses: actions/setup-node@v3 # with: - # node-version: '18.16.1' + # node-version: '20.11.0' # cache: 'yarn' # - run: yarn install --frozen-lockfile @@ -268,7 +276,7 @@ jobs: # ref: ${{ needs.deploy.outputs.deploy_commit || github.event.pull_request.head.sha }} # - uses: actions/setup-node@v3 # with: - # node-version: '18.16.1' + # node-version: '20.11.0' # cache: 'yarn' # - run: yarn install --frozen-lockfile