Skip to content

Instantly share code, notes, and snippets.

@itsabdessalam
Created April 18, 2020 16:11
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 itsabdessalam/0797bde0135e9be1e9579913a4be2755 to your computer and use it in GitHub Desktop.
Save itsabdessalam/0797bde0135e9be1e9579913a4be2755 to your computer and use it in GitHub Desktop.
name: Test workflow
on:
pull_request:
branches:
- master
- staging
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out Git repository
uses: actions/checkout@v1
- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: '12.x'
- name: Run tests
run: npm run test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment