Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
moritzjacobs committed Apr 23, 2024
1 parent 2a9b61e commit d0eda05
Show file tree
Hide file tree
Showing 2 changed files with 59 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/integration_test_main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: "🔬 PR: integration test"

on:
push:
branches:
- main
- integ-test

concurrency:
group: integration_test_main.tests@${{ github.ref }}
cancel-in-progress: true

jobs:
integration-test:
runs-on: ubuntu-latest
steps:
- name: 🧺 checkout
uses: actions/checkout@v4
- name: 🐱 use .nvmrc
uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
cache: "npm"
- name: 🧲 run integration test script
run: ./integration-test/run.sh
34 changes: 34 additions & 0 deletions .github/workflows/integration_test_pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: "🔬 PR: integration test"

on:
pull_request:
types: [labeled, ready_for_review, opened, synchronize, reopened]

concurrency:
group: integration_test_pr.tests@${{ github.ref }}
cancel-in-progress: true

jobs:
no-draft:
runs-on: ubuntu-latest
if: github.event.pull_request.draft == false
steps:
- run: echo "🗞"

integration-test:
runs-on: ubuntu-latest
needs: [no-draft]
steps:
- name: 🧺 checkout
uses: actions/checkout@v4
- name: 🐱 use .nvmrc
uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"
cache: "npm"
- name: 📌 npm install
run: npm ci --prefer-offline --no-audit
- name: 🔧 build
run: npm run build && npm run build -w docs
- name: 🧲 run integration test script
run: ./integration-test/run.sh local

0 comments on commit d0eda05

Please sign in to comment.