forked from Shopify/shopify-app-js
-
-
Notifications
You must be signed in to change notification settings - Fork 1
25 lines (25 loc) · 766 Bytes
/
ci.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
name: CI
on: [push, pull_request]
jobs:
CI:
name: CI (${{ matrix.version }})
runs-on: ubuntu-latest
strategy:
matrix:
version: [18]
steps:
- uses: actions/checkout@master
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.version }}
- name: Install
run: yarn install
- name: Run tests
run: yarn test
- name: Run linting
run: yarn lint
- name: Build packages
run: yarn build
- uses: gaurav-nelson/github-action-markdown-link-check@v1
- name: Ensure markdown links are only to main GitHub branches
run: 'grep --include="*.md" --exclude-dir=node_modules -Er "\/(tree|blob)" | (! grep -vE "\/(tree|blob)\/(main|master)")'