-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(Github workflow): Install lein missing in ubuntu 24 (#1657)
* fix(Github workflow): Install lein missing in ubuntu 24 * fix(component test): Use playwright from docker instead of installing it * fix(e2e test): Fix e2e depl group test
- Loading branch information
Showing
7 changed files
with
42 additions
and
3 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 |
---|---|---|
|
@@ -49,6 +49,11 @@ jobs: | |
distribution: 'temurin' | ||
java-version: '21' | ||
|
||
- name: Install clojure tools | ||
uses: DeLaGuardo/[email protected] | ||
with: | ||
lein: 2.11.2 | ||
|
||
- name: Project version | ||
working-directory: code | ||
shell: bash | ||
|
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 |
---|---|---|
|
@@ -27,6 +27,10 @@ jobs: | |
node-version: 16 | ||
- name: Install dependencies | ||
run: npm ci --legacy-peer-deps | ||
- name: Install clojure tools | ||
uses: DeLaGuardo/[email protected] | ||
with: | ||
lein: 2.11.2 | ||
- name: Analyze bundle size | ||
run: npx shadow-cljs run shadow.cljs.build-report nuvla-ui bundle-size-report-${{ github.sha }}.html | ||
- uses: actions/upload-artifact@v3 | ||
|
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,6 +19,12 @@ jobs: | |
component-test: | ||
timeout-minutes: 60 | ||
runs-on: ubuntu-latest | ||
container: | ||
image: mcr.microsoft.com/playwright:v1.42.1-jammy | ||
env: | ||
TZ: Europe/Zurich | ||
env: | ||
HOME: /root | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- name: Cache node modules | ||
|
@@ -46,8 +52,15 @@ jobs: | |
node-version: '18.x' | ||
- name: Install dependencies | ||
run: npm install | ||
- name: Install Playwright | ||
run: npx playwright install --with-deps | ||
- name: Set up JDK 21 | ||
uses: actions/setup-java@v4 | ||
with: | ||
distribution: 'temurin' | ||
java-version: '21' | ||
- name: Install clojure tools | ||
uses: DeLaGuardo/[email protected] | ||
with: | ||
lein: 2.11.2 | ||
- name: Build Portfolio | ||
run: lein build-portfolio | ||
- name: Serve Portfolio and run tests | ||
|
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 |
---|---|---|
|
@@ -24,6 +24,10 @@ jobs: | |
with: | ||
# Disabling shallow clone is recommended for improving relevancy of reporting for sonar | ||
fetch-depth: 0 | ||
- name: Install clojure tools | ||
uses: DeLaGuardo/[email protected] | ||
with: | ||
lein: 2.11.2 | ||
- name: Extract branch name and substitute slashes | ||
shell: bash | ||
working-directory: code | ||
|
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 |
---|---|---|
|
@@ -45,6 +45,15 @@ jobs: | |
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18 | ||
- name: Set up JDK 21 | ||
uses: actions/setup-java@v4 | ||
with: | ||
distribution: 'temurin' | ||
java-version: '21' | ||
- name: Install clojure tools | ||
uses: DeLaGuardo/[email protected] | ||
with: | ||
lein: 2.11.2 | ||
- name: Install dependencies | ||
run: npm ci --legacy-peer-deps | ||
- name: Await CF Pages | ||
|
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 |
---|---|---|
|
@@ -25,6 +25,10 @@ jobs: | |
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16 | ||
- name: Install clojure tools | ||
uses: DeLaGuardo/[email protected] | ||
with: | ||
lein: 2.11.2 | ||
- name: Install dependencies | ||
run: npm ci --legacy-peer-deps | ||
- name: Run unit tests | ||
|
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