feat: add oidc-protect service to library index #70
Workflow file for this run
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: Test | |
on: | |
push: | |
branches-ignore: [ "main" ] | |
env: | |
NODE_VERSION: ">=18.12.1" | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
token: ${{ secrets.FLOWCORE_MACHINE_GITHUB_TOKEN }} | |
submodules: true | |
- name: Setup Node.js environment | |
uses: actions/[email protected] | |
with: | |
node-version: "${{ env.NODE_VERSION }}" | |
cache: yarn | |
- name: Yarn install | |
run: | | |
yarn install --frozen-lockfile | |
- name: Lint | |
run: yarn lint | |
- name: Start Keycloak | |
run: | | |
docker-compose -f test/docker/docker-compose.yaml up -d | |
chmod +x test/docker/await-testing.sh | |
test/docker/await-testing.sh | |
- name: Test | |
run: yarn test --passWithNoTests |