Created
May 20, 2022 13:26
-
-
Save sibelius/483cc158f79f42ca43cffc386bd46583 to your computer and use it in GitHub Desktop.
basic yarn jest test github actions
This file contains 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: Tests | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Setup Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '16' | |
- run: yarn | |
- run: yarn jest |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment