Skip to content

Commit 587f4d7

Browse files
authored
Merge pull request #6 from aboutbits/engines-update
Update engines
2 parents 3c0ddb2 + 7bd07a8 commit 587f4d7

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
@@ -45,8 +45,8 @@
4545
},
4646
"homepage": "https://github.com/aboutbits/yup-locales#readme",
4747
"engines": {
48-
"npm": "^8",
49-
"node": "^16"
48+
"npm": ">=8",
49+
"node": ">=16"
5050
},
5151
"devDependencies": {
5252
"@types/jest": "^28.1.3",

0 commit comments

Comments
 (0)