1
0
Fork 0
mirror of https://github.com/subosito/flutter-action.git synced 2024-08-16 10:19:50 +02:00
flutter/.github/workflows/workflow.yml

23 lines
505 B
YAML
Raw Normal View History

2019-08-13 12:11:30 +02:00
name: Main workflow
on: [push]
jobs:
run:
name: Run
runs-on: ${{ matrix.operating-system }}
strategy:
matrix:
operating-system: [ubuntu-latest, windows-latest, macos-latest]
steps:
- name: Checkout
2020-03-04 18:06:13 +01:00
uses: actions/checkout@v2
2019-08-13 12:11:30 +02:00
- name: Set Node.js 10.x
2020-03-04 18:06:13 +01:00
uses: actions/setup-node@v1
2019-08-13 12:11:30 +02:00
with:
2020-03-04 18:06:13 +01:00
node-version: 10.x
2019-08-13 12:11:30 +02:00
- name: npm install
run: npm install
- name: Lint
run: npm run format-check
- name: npm test
run: npm test