Skip to content

Merge pull request #1 from kustom-dev/kustom/implement-events-processor #4

Merge pull request #1 from kustom-dev/kustom/implement-events-processor

Merge pull request #1 from kustom-dev/kustom/implement-events-processor #4

Workflow file for this run

name: test
on:
push:
branches:
- main
pull_request:
types: [ opened, synchronize, reopened ]
jobs:
run-integration-tests:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
run_install: false
- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: "pnpm"
- name: Get pnpm store directory
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
- uses: actions/cache@v4
name: Setup pnpm cache
with:
path: ${{ env.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install dependencies
run: pnpm install
- name: Run integration tests
run: pnpm run test
env:
SKIP_TEARDOWN_MIGRATE: false
WORKOS_API_KEY: ${{ secrets.WORKOS_API_KEY }}
WORKOS_CLIENT_ID: ${{ secrets.WORKOS_CLIENT_ID }}