1
0
Fork 0
mirror of https://github.com/actions/setup-python.git synced 2024-09-20 00:56:43 +00:00
setup-python/.github/workflows/workflow.yml
Konrad Pabjan 4ff1108c39
Update NPM packages (#75)
* Update NPM packages

* Format using prettier

* Update node version in workflow

* Add .gitattributes
2020-03-26 16:39:48 +01:00

27 lines
509 B
YAML

name: Main workflow
on: [push, pull_request]
jobs:
run:
name: Run
runs-on: ${{ matrix.operating-system }}
strategy:
matrix:
operating-system: [ubuntu-latest, windows-latest]
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set Node.js 12.x
uses: actions/setup-node@v1
with:
node-version: 12.x
- name: npm install
run: npm install
- name: Lint
run: npm run format-check
- name: npm test
run: npm test