Skip to content

Commit

Permalink
feat: gha change node version and fix sonarcloud (#200)
Browse files Browse the repository at this point in the history
  • Loading branch information
wantedsystem authored Feb 28, 2024
1 parent 60f37da commit 1028ebd
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-20.04
strategy:
matrix:
node-version: [16.x]
node-version: [20.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
Expand All @@ -39,14 +39,14 @@ jobs:
- run: yarn lint
- run: yarn test
- name: SonarCloud Scan Starknet-Snap
uses: SonarSource/sonarcloud-github-action@v1.9.1
uses: SonarSource/sonarcloud-github-action@v2.1.1
with:
projectBaseDir: packages/starknet-snap/
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN_STARKNET_SNAP }}
- name: SonarCloud Scan Wallet-UI
uses: SonarSource/sonarcloud-github-action@v1.9.1
uses: SonarSource/sonarcloud-github-action@v2.1.1
with:
projectBaseDir: packages/wallet-ui/
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: 16.x
node-version: 20.x

- name: Get Yarn cache directory
run: echo "::set-output name=YARN_CACHE_DIR::$(yarn cache dir)"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Use Node.js 16.x
uses: actions/setup-node@v2
with:
node-version: 16.x
node-version: 20.x
registry-url: 'https://registry.npmjs.org'
- name: Get Yarn cache directory
run: echo "::set-output name=YARN_CACHE_DIR::$(yarn cache dir)"
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e-tests-slack-notifications.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 16.x
node-version: 20.x

- name: Install dependencies
run: cd e2e && yarn install --frozen-lockfile
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/e2e-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 16.x
node-version: 20.x

- name: Install dependencies
run: cd e2e && yarn install --frozen-lockfile
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-npm-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: '16.x'
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
- run: npm publish ./packages/starknet-snap --tag dev --access public
env:
Expand Down

0 comments on commit 1028ebd

Please sign in to comment.