Skip to content

Instantly share code, notes, and snippets.

@sibelius
Created May 20, 2022 13:26
Show Gist options
  • Save sibelius/483cc158f79f42ca43cffc386bd46583 to your computer and use it in GitHub Desktop.
Save sibelius/483cc158f79f42ca43cffc386bd46583 to your computer and use it in GitHub Desktop.
basic yarn jest test github actions
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