Skip to content

update env example

update env example #15

Workflow file for this run

name: Run Tests and Show Coverage Report
on:
push:
paths-ignore:
- '**/README.md'
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
- name: setup node
uses: actions/setup-node@v3
with:
node-version: 16
- name: setup yarn
run: npm install -g yarn
- name: install deps
run: yarn install --immutable
- name: setup test env
run: cp .env.test .env
- name: run tests
run: yarn test:coverage
- name: upload coverage reports
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}