-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
0e05b95
commit fd1ea2d
Showing
1 changed file
with
16 additions
and
10 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 |
---|---|---|
|
@@ -170,24 +170,30 @@ jobs: | |
uses: "actions/[email protected]" | ||
with: | ||
node-version: "18" | ||
cache: "npm" | ||
# cache: "yarn" | ||
# cache: "npm" | ||
cache: "yarn" | ||
- | ||
name: "Enable Yarn 2+" | ||
run: | | ||
corepack enable | ||
yarn set version stable | ||
yarn --version | ||
- | ||
name: "Enable strict engine checking" | ||
run: "npm config set engine-strict true" | ||
#run: "yarn config set engine-strict true" | ||
# run: "npm config set engine-strict true" | ||
run: "yarn config set engine-strict true" | ||
- | ||
name: "Install production dependencies" | ||
run: "npm ci --omit=dev" | ||
#run: "yarn install --non-interactive --pure-lockfile --production=true" | ||
# run: "npm ci --omit=dev" | ||
run: "yarn install --non-interactive --pure-lockfile --production=true" | ||
- | ||
name: "Checks for security vulnerability advisories" | ||
run: "npm audit --omit=dev" | ||
#run: "yarn audit" | ||
# run: "npm audit --omit=dev" | ||
run: "yarn audit" | ||
- | ||
name: "Build front-end" | ||
run: "npm run prod:build" | ||
#run: "yarn run prod:build" | ||
# run: "npm run prod:build" | ||
run: "yarn run prod:build" | ||
- | ||
name: "Check differences to repository" | ||
run: "git diff --exit-code" | ||
|