Skip to content

Commit

Permalink
fix: update git ci node version
Browse files Browse the repository at this point in the history
  • Loading branch information
viennguyen2-tiki committed Mar 17, 2023
1 parent 9bcd889 commit e68160f
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/integrationTests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
strategy:
fail-fast: true
matrix:
node: [16]
node: [18]
name: Integration tests
runs-on: ubuntu-latest
steps:
Expand All @@ -22,7 +22,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: 16.x
node-version: 18.x
registry-url: 'https://npm.pkg.github.com'
scope: '@astraprotocol'
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
fail-fast: true
matrix:
node: [16]
node: [18]

name: Lint

Expand All @@ -24,12 +24,11 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: 16.x
node-version: 18.x
registry-url: 'https://npm.pkg.github.com'
scope: '@astraprotocol'
token: ${{ secrets.GITHUB_TOKEN }}


- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
strategy:
fail-fast: true
matrix:
node: [16]
node: [18]

name: Unit tests (Jest)

Expand All @@ -25,7 +25,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: 16.x
node-version: 18.x
registry-url: 'https://npm.pkg.github.com'
scope: '@astraprotocol'
token: ${{ secrets.GITHUB_TOKEN }}
Expand All @@ -49,6 +49,6 @@ jobs:
run: yarn install --frozen-lockfile

- name: Run tests
run: yarn test
env:
NEXT_PUBLIC_ENV: mainnet
run: yarn test
env:
NEXT_PUBLIC_ENV: mainnet

0 comments on commit e68160f

Please sign in to comment.