Skip to content

Commit ef1c2e0

Browse files
committed
Add tests to pipeline
1 parent 494c79e commit ef1c2e0

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

.github/workflows/main.yml

+14
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,20 @@ on:
44
push: { branches: [master] }
55

66
jobs:
7+
tests:
8+
name: Tests
9+
runs-on: ubuntu-latest
10+
steps:
11+
- uses: actions/checkout@v1
12+
- uses: actions/setup-node@v1
13+
with:
14+
node-version: 12.x
15+
- run: yarn
16+
- run: yarn lint
17+
- run: yarn test
18+
- run: yarn build || { echo "build command should always succeed" ; exit 61; }
19+
- run: yarn build --quiet && git diff --quiet action || { echo "action should be auto generated" ; exit 62; }
20+
721
requestManualActivationFile:
822
name: Request manual activation file 🔑
923
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)