mirror of
https://github.com/actions/setup-python.git
synced 2024-11-25 18:36:52 +01:00
4ff1108c39
* Update NPM packages * Format using prettier * Update node version in workflow * Add .gitattributes
26 lines
509 B
YAML
26 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
|