You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
setup-go/.github/workflows/workflow.yml

35 lines
601 B
YAML

name: build-test
on:
push:
branches:
- master
paths-ignore:
- '**.md'
pull_request:
paths-ignore:
- '**.md'
6 years ago
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: Setup node 12
uses: actions/setup-node@v1
6 years ago
with:
node-version: 12
6 years ago
- name: npm install
run: npm install
- name: Lint
run: npm run format-check
- name: npm test
run: npm test