generated from rharkor/next-boilerplate
-
Notifications
You must be signed in to change notification settings - Fork 1
38 lines (36 loc) · 832 Bytes
/
check.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
name: Check
on:
push:
branches:
- main
- master
- rec
pull_request:
workflow_dispatch:
jobs:
check:
env:
node_version: 20
name: Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: "20.x"
cache: "npm"
- name: Install dependencies
run: npm install
- name: Set example env
run: npm run init:env
- name: Lint check
run: npm run lint
- name: Format check
run: npm run prettier
- name: Unit & Integration tests
run: npm run test
- name: Check dependencies usage
run: npm run depcheck
- name: Banned Keywords
run: bash ./packages/scripts/banned-keywords.sh