25 lines
405 B
YAML
25 lines
405 B
YAML
|
name: CI
|
||
|
|
||
|
on:
|
||
|
push:
|
||
|
branches:
|
||
|
- "master"
|
||
|
- "staging"
|
||
|
- "trying"
|
||
|
pull_request:
|
||
|
|
||
|
env:
|
||
|
NODE_JS: "18"
|
||
|
|
||
|
jobs:
|
||
|
check:
|
||
|
runs-on: ubuntu-latest
|
||
|
steps:
|
||
|
- uses: actions/checkout@v3
|
||
|
- uses: actions/setup-node@v3
|
||
|
with:
|
||
|
node-version: ${{ env.NODE_JS }}
|
||
|
- uses: bahmutov/npm-install@v1
|
||
|
- run: npm run check:spell
|
||
|
- run: npm run build
|