-
Notifications
You must be signed in to change notification settings - Fork 6
39 lines (33 loc) · 739 Bytes
/
test.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# This workflow listens to new pushes to
# the main and staging branches, as well as
# pull requests to those branches.
#
# It then runs all our tests for the content compilers
# to make sure content is still compiled from source
# markdown correctly
name: Tests
on:
push:
branches:
- main
- staging
pull_request:
branches:
- main
- staging
jobs:
test:
runs-on: ubuntu-latest
timeout-minutes: 3
strategy:
matrix:
node-version: [14.x]
steps:
# First check out the repo
- name: Check out the repo
uses: actions/checkout@v2
# Then make sure all tests pass
- name: Test compiler
run: |
yarn install
yarn test