Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use Yarn 2+ #125

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 16 additions & 10 deletions .github/workflows/front-end.yml
Original file line number Diff line number Diff line change
Expand Up @@ -170,24 +170,30 @@ jobs:
uses: "actions/setup-node@v4.0.1"
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"
Expand Down
Loading