Skip to content

Instantly share code, notes, and snippets.

@LarsBergqvist
Created Jul 28, 2021
Embed
What would you like to do?
name: Continuous Deployment
on:
push:
branches: ['**']
jobs:
yarn-install-and-test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup node
uses: actions/setup-node@v2
with:
node-version: '14'
cache: 'yarn'
- name: Install packages
run: yarn install
- name: Run tests
run: yarn test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment