Skip to content

Commit

Permalink
chore(test): setup tests to run on both node 10 and 12
Browse files Browse the repository at this point in the history
  • Loading branch information
mohatt committed Feb 16, 2021
1 parent 17a75ed commit 99b6cd6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,15 @@ jobs:
test:
if: "!contains(github.event.head_commit.message, '[skip ci]')"
runs-on: ubuntu-20.04
strategy:
matrix:
node: [ '10', '12' ]
name: Node ${{ matrix.node }} test
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 12
node-version: ${{ matrix.node }}
- uses: actions/cache@v2
with:
path: ~/.pnpm-store
Expand Down

0 comments on commit 99b6cd6

Please sign in to comment.