Skip to content

Create CODE_OF_CONDUCT.md #13

Create CODE_OF_CONDUCT.md

Create CODE_OF_CONDUCT.md #13

Workflow file for this run

# This workflow will do a clean installation of node dependencies, cache/restore them, 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
on:
push:
branches:
- master
- 'chore/**'
pull_request:
branches: [master]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Use Node.js 14.x
uses: actions/setup-node@v2
with:
node-version: '14.x'
- name: Use npm 7
run: npm i -g npm@^7.x.x
- name: Check node version
run: node -v
- name: Check npm version
run: npm -v
- name: Install dependencies
run: npm ci
- name: Run test
run: npm run test
- uses: actions/upload-artifact@v2
if: success() || failure() # run this step even if previous step failed
with:
name: test-results
path: coverage/*