Skip to content

Commit

Permalink
update GitHub actions
Browse files Browse the repository at this point in the history
  • Loading branch information
alexlanz committed Mar 18, 2024
1 parent 4c2fc38 commit 618e8df
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@ on:
- 'v*'

env:
NODE_VERSION: 16
NODE_VERSION: 20

jobs:
build:
runs-on: ubuntu-22.04
timeout-minutes: 5
steps:
- uses: actions/checkout@v3
- uses: actions/github-script@v6
- uses: actions/checkout@v4
- uses: actions/github-script@v7
with:
script: |
github.rest.repos.createRelease({
Expand All @@ -23,7 +23,7 @@ jobs:
tag_name: '${{ github.ref }}',
name: 'Release ${{ github.ref_name }}'
})
- uses: aboutbits/github-actions-node/setup-and-install@v1
- uses: aboutbits/github-actions-node/setup-and-install@v2
with:
node-version: ${{ env.NODE_VERSION }}
registry-url: 'https://registry.npmjs.org'
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ name: Test Package
on: push

env:
NODE_VERSION: 16
NODE_VERSION: 20

jobs:
test:
runs-on: ubuntu-22.04
timeout-minutes: 15
steps:
- uses: actions/checkout@v3
- uses: aboutbits/github-actions-node/setup-and-install@v1
- uses: actions/checkout@v4
- uses: aboutbits/github-actions-node/setup-and-install@v2
with:
node-version: ${{ env.NODE_VERSION }}
- run: npm run lint
Expand Down

0 comments on commit 618e8df

Please sign in to comment.