Skip to content

Commit

Permalink
chore: drop Node v12 support because of the EOL (#77)
Browse files Browse the repository at this point in the history
* ci: update `actions/checkout` v2.3.1->v3.0.2

* ci: update `actions/setup-node` v2.0.0->v3.4.1

* ci: update node version to v12

* chore: drop Node v12 support
  • Loading branch information
tasshi-me authored Oct 2, 2022
1 parent 11be7a6 commit 25357c8
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 14 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ on: [push]

jobs:
build:
name: Node.js ubuntu-latest 12.x
name: Node.js ubuntu-latest 14.x
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.3.1
- uses: actions/checkout@v3.0.2
- name: Setup node
uses: actions/setup-node@v2.0.0
uses: actions/setup-node@v3.4.1
with:
node-version: 12.x
node-version: 14.x
- run: |
npm ci
npm run lint
6 changes: 3 additions & 3 deletions .github/workflows/shipjs-manual-prepare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,13 @@ jobs:
startsWith(github.event.comment.body, '@shipjs prepare')
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2.3.1
- uses: actions/checkout@v3.0.2
with:
fetch-depth: 0
ref: master
- uses: actions/setup-node@v2.0.0
- uses: actions/setup-node@v3.4.1
with:
node-version: 12.x
node-version: 14.x
- run: |
if [ -f "yarn.lock" ]; then
yarn install
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/shipjs-trigger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ jobs:
runs-on: ubuntu-latest
if: github.event.pull_request.merged == true && startsWith(github.head_ref, 'releases/v')
steps:
- uses: actions/checkout@v2.3.1
- uses: actions/checkout@v3.0.2
with:
fetch-depth: 0
ref: master
- uses: actions/setup-node@v2.0.0
- uses: actions/setup-node@v3.4.1
with:
node-version: 12.x
node-version: 14.x
registry-url: "https://registry.npmjs.org"
- run: |
if [ -f "yarn.lock" ]; then
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
node-version: [10.x, 12.x]
node-version: [14.x, 16.x]
name: Node.js ${{ matrix.os }} ${{ matrix.node-version }}
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v2.3.1
- uses: actions/checkout@v3.0.2
- name: Setup node
uses: actions/setup-node@v2.0.0
uses: actions/setup-node@v3.4.1
with:
node-version: ${{ matrix.node-version }}
- run: |
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
},
"homepage": "https://github.com/miyajan/garoon-rest",
"engines": {
"node": ">=10.0.0"
"node": ">=14.0.0"
},
"devDependencies": {
"@babel/preset-env": "^7.10.3",
Expand Down

0 comments on commit 25357c8

Please sign in to comment.