mirror of
https://github.com/chenasraf/schemastore.git
synced 2026-05-18 01:58:58 +00:00
This change will ensure that YAML files are using a consistent formatting and will reformat (normalize) them if needed. Related:
25 lines
467 B
YAML
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
|