monaco-yaml/.github/workflows/ci.yaml
Remco Haszing 97106b71c9
Add GitHub workflow
2 jobs have been specified:

- `pack` makes sure the package can be built.
- `lint` checks the code using Prettier.
2021-03-25 17:55:23 +01:00

26 lines
505 B
YAML

name: ci
on:
pull_request:
push:
branches: [master]
tags: ['*']
jobs:
pack:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with: { node-version: 14 }
- run: yarn --frozen-lockfile
- run: yarn pack
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with: { node-version: 14 }
- run: yarn --frozen-lockfile
- run: yarn lint