Skip to content

Commit d43cad0

Browse files
committed
chore(ci): setup GitHub workflow
1 parent e090a97 commit d43cad0

1 file changed

Lines changed: 34 additions & 0 deletions

File tree

.github/workflows/ci.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: CI
2+
3+
# These trigger patterns courtesy of https://github.com/broccolijs/broccoli/pull/436
4+
on:
5+
pull_request:
6+
push:
7+
# filtering branches here prevents duplicate builds from pull_request and push
8+
branches:
9+
- master
10+
- "v*"
11+
# always run CI for tags
12+
tags:
13+
- "*"
14+
15+
env:
16+
CI: true
17+
18+
jobs:
19+
test-locked-deps:
20+
name: Locked Deps
21+
runs-on: ubuntu-latest
22+
steps:
23+
- name: Checkout Code
24+
uses: actions/checkout@v1
25+
- name: Install Node
26+
uses: actions/setup-node@v1
27+
with:
28+
node-version: 12
29+
- name: Install Dependencies
30+
run: yarn install --frozen-lockfile
31+
- name: Lint
32+
run: yarn lint:js
33+
- name: Browser Tests
34+
run: yarn test

0 commit comments

Comments
 (0)