Skip to content

Commit

Permalink
fix(ci): actions workflow fix
Browse files Browse the repository at this point in the history
  • Loading branch information
sam committed Jan 31, 2021
1 parent 0e7a96d commit 13e82c8
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# GitHub Nodejs CI
name: nodejs

on: [push, pull_request]

jobs:
build:
runs-on: ubuntu-latest

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

steps:
- uses: actions/[email protected]
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/[email protected]
with:
node-version: ${{ matrix.node-version }}
- name: npm install, build, and test
run: |
npm install codecov -g
yarn install
yarn run test
yarn run coverage
codecov
env:
CI: true

0 comments on commit 13e82c8

Please sign in to comment.