Skip to content

Commit

Permalink
ci: node 22
Browse files Browse the repository at this point in the history
  • Loading branch information
fufeck committed Jun 24, 2024
1 parent 264796d commit e367f52
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,20 +20,20 @@ jobs:

strategy:
matrix:
node-version: [16.x, 18.x, 20.x]
node-version: [16.x, 18.x, 20.x, 22.x]

steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: yarn
- name: Lint the codebase
run: yarn lint
- name: Build
run: yarn build
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: yarn
- name: Lint the codebase
run: yarn lint
- name: Build
run: yarn build

scan:
name: gitleaks
Expand All @@ -45,4 +45,4 @@ jobs:
- uses: gitleaks/gitleaks-action@v2
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITLEAKS_LICENSE: ${{secrets.BAL_GITLEAKS_LICENSE}}
GITLEAKS_LICENSE: ${{secrets.BAL_GITLEAKS_LICENSE}}

0 comments on commit e367f52

Please sign in to comment.