Skip to content

Commit 271c57c

Browse files
authored
Merge pull request #15 from aboutbits/engines-update
Update engines
2 parents fc17614 + df3d1a4 commit 271c57c

3 files changed

Lines changed: 12 additions & 12 deletions

File tree

.github/workflows/main.yml

Lines changed: 6 additions & 6 deletions
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

Lines changed: 4 additions & 4 deletions
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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
"module": "dist/esm/index.js",
77
"sideEffects": false,
88
"engines": {
9-
"npm": "^8",
10-
"node": "^16"
9+
"npm": ">=8",
10+
"node": ">=16"
1111
},
1212
"scripts": {
1313
"build": "npm run build:node && npm run build:esm",

0 commit comments

Comments
 (0)