File tree Expand file tree Collapse file tree 1 file changed +43
-0
lines changed
Expand file tree Collapse file tree 1 file changed +43
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Validate NeuroJson_io Project
2+
3+ on :
4+ push :
5+ branches :
6+ - dev
7+ - main
8+ pull_request :
9+ branches :
10+ - dev
11+ - main
12+
13+ jobs :
14+ validate :
15+ runs-on : ubuntu-latest
16+
17+ steps :
18+ - name : Check out the repository
19+ uses : actions/checkout@v3
20+
21+ - name : Set up Node.js
22+ uses : actions/setup-node@v3
23+ with :
24+ node-version : ' 18'
25+
26+ - name : Install dependencies
27+ run : yarn install
28+
29+ - name : Compile TypeScript
30+ run : yarn build
31+
32+ - name : Run Linter
33+ run : yarn lint
34+
35+ # - name: Check for exposed environment variables
36+ # run: |
37+ # if [ -f ".env" ]; then
38+ # echo "Error: .env file found. Environment variables should not be exposed." >&2
39+ # exit 1
40+ # fi
41+
42+ - name : Run Security Audit
43+ run : yarn audit --level moderate
You can’t perform that action at this time.
0 commit comments