Skip to content

Instantly share code, notes, and snippets.

@TClark1011
Last active March 24, 2022 03:03
Show Gist options
  • Select an option

  • Save TClark1011/b1bac299fc23cde34fbf12921f1aadc6 to your computer and use it in GitHub Desktop.

Select an option

Save TClark1011/b1bac299fc23cde34fbf12921f1aadc6 to your computer and use it in GitHub Desktop.
CI (JS/TS) - Test (jest) + build
name: check
on: pull_request
jobs:
test-and-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: "14"
- run: yarn
- run: yarn test --coverage
- uses: romeovs/lcov-reporter-action@v0.2.16
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
- run: yarn build
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment