mirror of
https://github.com/danbulant/monaco-yaml
synced 2026-05-19 04:08:48 +00:00
Npm 7 also supports workspaces, but doesn’t require the workspace root to be private. This means the examples can be workspaces within the project, so the entire project can be handled as one mono repository with a single lock file and `node_modules` directory. Also the readme has been updated with usage instructions.
26 lines
475 B
YAML
26 lines
475 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: 16 }
|
|
- run: npm ci
|
|
- run: npm pack
|
|
|
|
lint:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: actions/setup-node@v2
|
|
with: { node-version: 16 }
|
|
- run: npm ci
|
|
- run: npm run lint
|