Skip to content

Commit

Permalink
Update node-version and upload-artifacts
Browse files Browse the repository at this point in the history
  • Loading branch information
RCantu92 committed May 15, 2024
1 parent d7e0c85 commit c0581ca
Showing 1 changed file with 15 additions and 7 deletions.
22 changes: 15 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,19 +23,21 @@ 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

- name: Compile contracts
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
Expand All @@ -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

Expand All @@ -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 }}


Expand All @@ -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

Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand Down Expand Up @@ -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

Expand Down

0 comments on commit c0581ca

Please sign in to comment.