Skip to content

Commit

Permalink
Merge pull request #156 from node-oauth/fix-update-node-versions
Browse files Browse the repository at this point in the history
  • Loading branch information
jankapunkt committed Aug 25, 2022
2 parents e01e841 + 75146f2 commit 7191c29
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/tests-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '12'
node-version: '14'
# install to create local package-lock.json but don't cache the files
# also: no audit for dev dependencies
- run: npm i --package-lock-only && npm audit --production
Expand All @@ -40,7 +40,7 @@ jobs:
needs: [audit]
strategy:
matrix:
node: [12, 14, 16]
node: [14, 16, 18]
steps:
- name: Checkout ${{ matrix.node }}
uses: actions/checkout@v2
Expand Down Expand Up @@ -81,7 +81,7 @@ jobs:
needs: [unittest]
strategy:
matrix:
node: [12, 14] # TODO get running for node 16
node: [14, 16, 18] # TODO get running for node 16
steps:
# checkout this repo
- name: Checkout ${{ matrix.node }}
Expand Down Expand Up @@ -125,7 +125,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 12
node-version: 14
registry-url: https://registry.npmjs.org/
- run: npm i
- run: npm publish --dry-run
Expand All @@ -143,7 +143,7 @@ jobs:
- uses: actions/setup-node@v2
with:
# we always publish targeting the lowest supported node version
node-version: 12
node-version: 14
registry-url: $registry-url(npm)
- run: npm i
- run: npm publish --dry-run
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: [12, 14, 16]
node: [14, 16, 18]
steps:
- name: Checkout ${{ matrix.node }}
uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
},
"license": "MIT",
"engines": {
"node": ">=12.0.0"
"node": ">=14.0.0"
},
"scripts": {
"pretest": "./node_modules/.bin/eslint lib test index.js",
Expand Down

0 comments on commit 7191c29

Please sign in to comment.