forked from shardus/lib-net
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fed2c7b
commit dc5e6f9
Showing
2 changed files
with
11 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -19,13 +19,13 @@ jobs: | |
- name: Set up Node.js | ||
uses: actions/[email protected] | ||
with: | ||
node-version: "${{ vars.NODE_VERSION }}" | ||
node-version: '${{ vars.NODE_VERSION }}' | ||
cache: 'npm' | ||
|
||
- name: Install dependencies | ||
run: | | ||
echo "Installing dependencies..." | ||
npm ci | ||
npm ci --ignore-scripts | ||
echo "Dependency installation complete." | ||
- name: Lint | ||
|
@@ -42,20 +42,15 @@ jobs: | |
- name: Build | ||
run: | | ||
echo "Compiling the code..." | ||
npm run compile | ||
echo "Compile complete." | ||
echo "Building the code..." | ||
npm run build | ||
echo "Build complete." | ||
- name: Unit Tests | ||
run: | | ||
echo "Looking for Unit Tests..." | ||
if ls test/*.js 1> /dev/null 2>&1 || ls test/*.ts 1> /dev/null 2>&1; then | ||
echo "Unit Test files found. Running tests..." | ||
npm test | ||
echo "Unit Tests complete." | ||
else | ||
echo "No Unit Test files found. Skipping tests." | ||
fi | ||
echo "Running Unit Tests..." | ||
npm test | ||
echo "Unit Tests complete." | ||
- name: Test apply patches | ||
run: | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters