-
-
Notifications
You must be signed in to change notification settings - Fork 297
36 lines (28 loc) · 706 Bytes
/
main.yml
File metadata and controls
36 lines (28 loc) · 706 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
# This is a basic workflow to help you get started with Actions
name: CI
# Controls when the workflow will run
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: setup-docker
uses: docker/setup-docker-action@v4
with:
channel: stable
- name: Setup Node.js environment
uses: actions/setup-node@v4
with:
node-version: 22.x
cache: npm
cache-dependency-path: package-lock.json
- name: Install
run: npm ci
- name: Test
run: npm test