Skip to content

Commit

Permalink
Merge pull request #752 from XhmikosR/patch-1
Browse files Browse the repository at this point in the history
Update CI config
  • Loading branch information
vitormalencar authored May 12, 2021
2 parents 734d36b + 9c062df commit 5ffe395
Showing 1 changed file with 14 additions and 12 deletions.
26 changes: 14 additions & 12 deletions .github/workflows/test.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,12 @@ name: build

on:
push:
branches: [ master ]
branches: [master]
pull_request:
branches: [ master ]
branches: [master]

env:
FORCE_COLOR: 2

jobs:
build:
Expand All @@ -20,13 +23,12 @@ jobs:
# For now is not possible to target LTS verssions =/ check progress here https://github.com/actions/setup-node/issues/26

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

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

0 comments on commit 5ffe395

Please sign in to comment.