Skip to content

Commit

Permalink
Test against a single node version
Browse files Browse the repository at this point in the history
  • Loading branch information
Wilfred committed Sep 5, 2020
1 parent 1ad135f commit 50791e2
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/node.js.yml
@@ -1,7 +1,7 @@
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions

name: Node.js CI
name: Run build and tests

on:
push:
Expand All @@ -14,16 +14,12 @@ jobs:

runs-on: ubuntu-latest

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

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
node-version: 14.x
- run: npm ci
- run: npm run build --if-present
- run: npm test

0 comments on commit 50791e2

Please sign in to comment.