Skip to content

Commit e22ffa9

Browse files
committed
fix: Fixed validation bugs
1 parent e6e362a commit e22ffa9

1 file changed

Lines changed: 20 additions & 11 deletions

File tree

Lines changed: 20 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,24 @@
1-
name: Run unit and integration tests
1+
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
2+
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs
23

3-
on: [push]
4+
name: Node.js CI
5+
6+
on:
7+
push:
8+
branches: [ $default-branch ]
9+
pull_request:
10+
branches: [ $default-branch ]
411

512
jobs:
6-
build:
13+
build-and-test:
714
runs-on: ubuntu-latest
8-
steps:
9-
- uses: actions/checkout@v4
10-
- uses: actions/setup-node@v4
11-
with:
12-
node-versions: '20.x'
13-
cache: 'npm'
14-
- run: npm install
15-
- run: npm run test
15+
16+
steps:
17+
- uses: actions/checkout@v4
18+
- name: Use Node.js 20
19+
uses: actions/setup-node@v4
20+
with:
21+
node-version: '20.x'
22+
cache: 'npm'
23+
- run: npm ci
24+
- run: npm test

0 commit comments

Comments
 (0)