Skip to content

Commit

Permalink
Merge pull request #226 from geoadmin/feat-PB-344-update-workflow
Browse files Browse the repository at this point in the history
PB-344: update node and dependencies - #minor
  • Loading branch information
benschs authored Apr 24, 2024
2 parents 55baed6 + 6c2d45a commit 866b574
Show file tree
Hide file tree
Showing 9 changed files with 32,454 additions and 12,904 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/check-dist-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- name: Set Node.js 12.x
uses: actions/setup-node@v2.4.1
- name: Set Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: 12.x
node-version: 20.x

- name: Install dependencies
run: npm ci
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,18 @@ jobs:
build: # make sure build/ci work properly
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v2.4.1
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 12.x
node-version: 20.x
- run: |
npm ci
- run: |
npm run all
test: # make sure the action works on a clean machine without building
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- uses: ./
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,5 +28,5 @@ outputs:
tag_created:
description: '"true" if a tag has been created, "false" otherwise'
runs:
using: 'node12'
using: 'node20'
main: 'dist/index.js'
Loading

0 comments on commit 866b574

Please sign in to comment.