Skip to content

Commit

Permalink
update deps, use node20 for the action
Browse files Browse the repository at this point in the history
  • Loading branch information
cardinalby committed Feb 12, 2024
1 parent 76c68bf commit 2377bdc
Show file tree
Hide file tree
Showing 6 changed files with 273 additions and 144 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,14 @@ jobs:
PACKED_JS_PATH: 'dist/index.js'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Extract branch name
id: extractBranch
shell: bash
run: echo "branch=$(echo ${GITHUB_REF#refs/heads/})" >> $GITHUB_OUTPUT
- name: Use Node.js 16
uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 16
node-version: 20
- name: Install dependencies
run: npm ci
- name: Build
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [ 16.x ]
node-version: [ 20.x ]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
Expand Down
7 changes: 3 additions & 4 deletions .github/workflows/update-meta-schemas.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,16 @@ jobs:
META_SCHEMAS_DIR: 'metaSchemas'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Extract branch name
id: extractBranch
shell: bash
run: echo "branch=$(echo ${GITHUB_REF#refs/heads/})" >> $GITHUB_OUTPUT

- name: Use Node.js 16
uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 16
node-version: 20

- name: Install dependencies
run: npm ci
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ outputs:
validation_error:
description: 'Error during file validation'
runs:
using: 'node16'
using: 'node20'
main: 'dist/index.js'
branding:
icon: 'code'
Loading

0 comments on commit 2377bdc

Please sign in to comment.