-
Notifications
You must be signed in to change notification settings - Fork 6
36 lines (33 loc) · 795 Bytes
/
workflow.yml
File metadata and controls
36 lines (33 loc) · 795 Bytes
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
name: Main workflow
on: [push]
jobs:
run:
name: Code linting
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
- name: Set Node.js 14.x
uses: actions/setup-node@master
with:
version: 14.x
- name: npm install
run: npm install
- name: Lint
run: npm run format-check
selftest:
name: Self test
runs-on: ${{ matrix.operating-system }}
strategy:
matrix:
operating-system:
- ubuntu-latest
- windows-latest
- macOS-latest
steps:
- name: Checkout
uses: actions/checkout@master
- name: Setup Nox (this workflow 😱)
uses: ./
- name: Run selftest Noxfile
run: nox -f selftest.nox.py