Skip to content

resources and types

resources and types #2

Workflow file for this run

name: Test
on:
push:
branches:
- "main"
pull_request:
types: [ready_for_review, synchronize, opened]
jobs:
unit:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x]
steps:
- uses: actions/checkout@v1
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install
run: yarn install
- name: Build
run: yarn build
- name: Test
run: yarn test --coverage
- name: Codecov
run: ./node_modules/.bin/codecov --token=${{ secrets.CODECOV_TOKEN }}
env:
CI: true