-
Notifications
You must be signed in to change notification settings - Fork 298
38 lines (34 loc) · 980 Bytes
/
ci.yml
File metadata and controls
38 lines (34 loc) · 980 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# This workflow will do a clean install of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://github.com/marketplace/actions/setup-node-js-environment
name: CI
on:
push:
branches: [master]
pull_request:
branches: [master]
workflow_dispatch:
inputs:
ref:
description: "Tag, or commit SHA to checkout (optional)"
required: false
env:
CI: "true"
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node: [24]
name: Node ${{ matrix.node }}
steps:
- uses: actions/checkout@v6
with:
ref: ${{ github.event.inputs.ref || github.ref }}
- name: Setup Node ${{ matrix.node }}
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node }}
- run: npm install --ignore-scripts
- run: npm run yaml
- run: npm run lint
- run: npm run ci