Skip to content

Commit

Permalink
ci: use major version (#374)
Browse files Browse the repository at this point in the history
  • Loading branch information
uiolee authored Aug 18, 2023
1 parent 72bcc2c commit 79d882f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Use Node.js 14.x
uses: actions/setup-node@v3.8.0
uses: actions/setup-node@v3
with:
node-version: '14.x'
node-version: "14.x"
- name: Cache NPM dependencies
uses: actions/cache@v3.3.1
uses: actions/cache@v3
with:
path: node_modules
key: ${{ runner.OS }}-npm-cache
Expand All @@ -24,4 +24,4 @@ jobs:
run: |
npm run eslint
env:
CI: true
CI: true
16 changes: 8 additions & 8 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', '16.x']
node-version: ["14.x", "16.x", "18.x"]
fail-fast: false
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3.8.0
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Cache NPM dependencies
uses: actions/cache@v3.3.1
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: ['14.x']
node-version: ["14.x"]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3.8.0
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Cache NPM dependencies
uses: actions/cache@v3.3.1
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 }}
github-token: ${{ secrets.github_token }}

0 comments on commit 79d882f

Please sign in to comment.