Skip to content

Commit

Permalink
chore: require node14+ (#155)
Browse files Browse the repository at this point in the history
* chore: require node14+

* ci: update action version

---------

Co-authored-by: uiolee <22849383+uiolee@users.noreply.github.com>
  • Loading branch information
yoshinorin and uiolee authored Oct 7, 2023
1 parent b271377 commit b75be3a
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ jobs:
linter:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Use Node.js 12.x
uses: actions/setup-node@v1
- uses: actions/checkout@v4
- name: Use Node.js 14
uses: actions/setup-node@v3
with:
node-version: '12.x'
node-version: "14"
- name: Cache NPM dependencies
uses: actions/cache@v1
uses: actions/cache@v3
with:
path: node_modules
key: ${{ runner.OS }}-npm-cache
Expand Down
18 changes: 9 additions & 9 deletions .github/workflows/tester.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
node-version: ['12.x', '14.x']
node-version: ["14", "16", "18"]
fail-fast: false
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Cache NPM dependencies
uses: actions/cache@v1
uses: actions/cache@v3
with:
path: node_modules
key: ${{ runner.os }}-npm-cache
Expand All @@ -33,15 +33,15 @@ jobs:
strategy:
matrix:
os: [ubuntu-latest]
node-version: ['12.x']
node-version: ["14"]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Cache NPM dependencies
uses: actions/cache@v1
uses: actions/cache@v3
with:
path: node_modules
key: ${{ runner.os }}-npm-cache
Expand All @@ -53,6 +53,6 @@ jobs:
env:
CI: true
- name: Coveralls
uses: coverallsapp/github-action@master
uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.github_token }}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,6 @@
"sinon": "^15.0.2"
},
"engines": {
"node": ">=12.13.0 <13 || >=14"
"node": ">=14"
}
}

0 comments on commit b75be3a

Please sign in to comment.