Fixed some broken links in docs, updating GitHub actions, Jenkins file #955
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
name: dev | |
on: | |
workflow_dispatch: | |
pull_request: | |
branches: [master] | |
push: | |
branches: [master, 'branch-0.6.x'] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: coursier/[email protected] | |
with: | |
jvm: temurin:1.21 | |
apps: sbt | |
- uses: coursier/cache-action@v6 | |
- uses: actions/[email protected] | |
with: | |
node-version: "22.13.0" | |
registry-url: "https://registry.npmjs.org" | |
- name: Cache ~/.npm | |
uses: actions/cache@v4 | |
with: | |
path: ~/.npm | |
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} | |
restore-keys: | | |
${{ runner.os }}-node- | |
- name: Install | |
run: npm ci | |
- name: Build | |
run: npm run build | |
- name: Tests | |
run: npm run test:ci | |
- name: Build - Example App | |
working-directory: ./example | |
run: | | |
npm ci | |
npm run build | |
- name: Selenium Test | |
run: sbt -Dprod.publish=true -DgenerateStoryReport=true -DRTM_PATH=./RTM -DOUTPUT_FILE=/testStoryMapping.txt clean test | |
- name: Generate RTM | |
if: always() | |
continue-on-error: true | |
run: | | |
sh rtm.sh | |
- name: Upload RTM | |
if: always() | |
continue-on-error: true | |
uses: actions/upload-artifact@v4 | |
with: | |
name: RTM | |
path: ./RTM | |
- name: Upload Coverage | |
if: always() | |
continue-on-error: true | |
uses: actions/upload-artifact@v4 | |
with: | |
name: Coverage | |
path: ./coverage | |
- name: Notify slack | |
if: always() | |
continue-on-error: true | |
uses: kpritam/slack-job-status-action@v1 | |
with: | |
job-status: ${{ job.status }} | |
slack-bot-token: ${{ secrets.SLACK_BOT_TOKEN }} | |
channel: ci-dev |