Files
schemastore/.github/workflows/nodejs.yml
Sorin Sbarnea bbbac6d970 Enable prettier on YAML files (#2250)
This change will ensure that YAML files are using a consistent
formatting and will reformat (normalize) them if needed.

Related:
2022-05-17 10:17:54 -07:00

25 lines
467 B
YAML

name: Node.js CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "16"
cache: "npm"
cache-dependency-path: src/package-lock.json
- name: npm ci
run: |
cd src
npm ci
- name: npm run build
run: |
cd src
npm run build