Skip to content

Instantly share code, notes, and snippets.

@LarsBergqvist
Created July 28, 2021 10:26
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save LarsBergqvist/f9de2b78d62b63d394bd73fd2cf080a9 to your computer and use it in GitHub Desktop.
Save LarsBergqvist/f9de2b78d62b63d394bd73fd2cf080a9 to your computer and use it in GitHub Desktop.
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