Skip to content

Commit

Permalink
Update CI to tests multiple node versions, use node 16 locally (#302)
Browse files Browse the repository at this point in the history
  • Loading branch information
BPScott committed Nov 26, 2021
1 parent bab126f commit 0e65962
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
17 changes: 11 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,27 @@ name: CI

on:
pull_request:
branches:
- '**'
branches: ['**']
push:
branches:
- 'main'
branches: [main]

jobs:
test:
name: 'Test'
name: 'Test (${{ matrix.node-version }})'
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['12.14', '14.x', '16.x']
timeout-minutes: 10

steps:
- uses: actions/checkout@v2
name: Checkout

- uses: actions/setup-node@v2
name: Use Node.js ${{ matrix.node-version }}
with:
node-version: '12.14.0'
node-version: ${{ matrix.node-version }}
cache: 'yarn'

- run: yarn --frozen-lockfile
Expand Down
3 changes: 1 addition & 2 deletions dev.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: web-configs
up:
- node:
version: v12.14.0
version: v16.13.0
yarn: v1.22.5
commands:
__default__: start
Expand All @@ -10,4 +10,3 @@ commands:
start: echo "Running web-configs is not really a concept that makes sense."
test: yarnpkg test
generate: yarnpkg generate

0 comments on commit 0e65962

Please sign in to comment.