forked from benhason1/nestjs-http-promise
-
Notifications
You must be signed in to change notification settings - Fork 0
47 lines (35 loc) · 884 Bytes
/
test.yml
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
39
40
41
42
43
44
45
46
47
name: test
on:
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
- name: Use Node.js
uses: actions/[email protected]
with:
node-version: '23.x'
cache: 'npm'
- name: Install NPM dependencies
run: npm ci
- name: NPM Build
run: npm run build
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
- name: Use Node.js
uses: actions/[email protected]
with:
node-version: '23.x'
cache: 'npm'
- name: Install NPM dependencies
run: npm ci
- name: Lint
run: npm run lint -- --no-fix