Skip to content

Commit 3771c20

Browse files
author
Danny McCormick
authored
v2 workflow (#4)
* v2 workflow * Delete legacy workflow
1 parent fc7bc3b commit 3771c20

File tree

2 files changed

+23
-25
lines changed

2 files changed

+23
-25
lines changed

.github/main.workflow.yml

Lines changed: 0 additions & 25 deletions
This file was deleted.

.github/workflows/workflow.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Main workflow
2+
on: [push]
3+
jobs:
4+
run:
5+
name: Run
6+
runs-on: ${{ matrix.operating-system }}
7+
strategy:
8+
matrix:
9+
operating-system: [ubuntu-latest, windows-latest]
10+
actions:
11+
- name: Set Node.js 10.x
12+
uses: bryanmacfarlane/node-config@master
13+
with:
14+
version: 10.x
15+
16+
- name: npm install
17+
run: npm install
18+
19+
- name: Lint
20+
run: npm run format-check
21+
22+
- name: npm test
23+
run: npm test

0 commit comments

Comments
 (0)