Last active
March 24, 2022 03:03
-
-
Save TClark1011/b1bac299fc23cde34fbf12921f1aadc6 to your computer and use it in GitHub Desktop.
CI (JS/TS) - Test (jest) + build
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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