Skip to content

Commit

Permalink
ci: 🎡 fix actions/setup-node to use semantic version
Browse files Browse the repository at this point in the history
  • Loading branch information
bradennapier committed Jul 15, 2020
1 parent 8162289 commit 2687d4b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/pull_request_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,15 @@ jobs:

strategy:
matrix:
node-version: [10.x, 12.x, 14.x]
node: [10.x, 12.x, 14.x]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v2.0.0
with:
node-version: ${{ matrix.node-version }}
node-version: ${{ matrix.node }}
check-latest: true
- name: npm install, build, and test
run: |
yarn install --pure-lockfile
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v1
uses: actions/setup-node@v2.0.0
with:
node-version: 12
- name: Install dependencies
Expand Down

0 comments on commit 2687d4b

Please sign in to comment.