8000 Create workflow.yml · cnfun/setup-python@943c5bc · GitHub
[go: up one dir, main page]

Skip to content

Commit 943c5bc

Browse files
author
Danny McCormick
authored
Create workflow.yml
1 parent 6923ce3 commit 943c5bc

File tree

1 file changed

+23
-0
line 8000 s changed

1 file changed

+23
-0
lines changed

.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)
0