Skip to content

Commit c3693d9

Browse files
authored
Merge pull request #10 from aboutbits/engines-update
Update engines
2 parents 78392db + 4ccdb49 commit c3693d9

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

.github/workflows/main.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,18 @@ name: Test Package
22

33
on: push
44

5-
env:
6-
NODE_VERSION: 16
7-
85
jobs:
96
test:
107
runs-on: ubuntu-22.04
118
timeout-minutes: 15
9+
strategy:
10+
matrix:
11+
node_version: [16, 18, 20]
1212
steps:
13-
- uses: actions/checkout@v3
14-
- uses: aboutbits/github-actions-node/setup-and-install@v1
13+
- uses: actions/checkout@v4
14+
- uses: aboutbits/github-actions-node/setup-and-install@v2
1515
with:
16-
node-version: ${{ env.NODE_VERSION }}
16+
node-version: ${{ matrix.node_version }}
1717
- run: npm run lint
1818
- run: npm run typecheck
1919
- run: npm run test

.github/workflows/release.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@ on:
66
- 'v*'
77

88
env:
9-
NODE_VERSION: 16
9+
NODE_VERSION: 20
1010

1111
jobs:
1212
build:
1313
runs-on: ubuntu-22.04
1414
timeout-minutes: 5
1515
steps:
16-
- uses: actions/checkout@v3
17-
- uses: actions/github-script@v6
16+
- uses: actions/checkout@v4
17+
- uses: actions/github-script@v7
1818
with:
1919
script: |
2020
github.rest.repos.createRelease({
@@ -23,7 +23,7 @@ jobs:
2323
tag_name: '${{ github.ref }}',
2424
name: 'Release ${{ github.ref_name }}'
2525
})
26-
- uses: aboutbits/github-actions-node/setup-and-install@v1
26+
- uses: aboutbits/github-actions-node/setup-and-install@v2
2727
with:
2828
node-version: ${{ env.NODE_VERSION }}
2929
registry-url: 'https://registry.npmjs.org'

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
"main": "dist/index.js",
1515
"typings": "dist/index.d.ts",
1616
"engines": {
17-
"npm": "^8",
18-
"node": "^16"
17+
"npm": ">=8",
18+
"node": ">=16"
1919
},
2020
"scripts": {
2121
"build": "tsc",

0 commit comments

Comments
 (0)