mirror of
https://github.com/danbulant/monaco-yaml
synced 2026-06-18 05:51:07 +00:00
2 jobs have been specified: - `pack` makes sure the package can be built. - `lint` checks the code using Prettier.
26 lines
505 B
YAML
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
|