Skip to content

Pin dependencies

Pin dependencies #1773

name: "Run Bruno tests"
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
types: [opened, synchronize, reopened]
jobs:
bruno:
name: Bruno
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- name: Checkout repository
uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4
- name: Setup node
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4
with:
node-version: 21.x
- name: Install bruno
run: npm install --global @usebruno/cli@1.x
- name: Run automatic tests against AT22
working-directory: test/Bruno/Altinn.AccessManagement
run: bru run "Automatic Test Collection" -r --env AT22
env:
TOKEN_BASIC_AUTH_USER: ${{ secrets.BRUNO_TOKEN_BASIC_AUTH_USER }}
TOKEN_BASIC_AUTH_PW: ${{ secrets.BRUNO_TOKEN_BASIC_AUTH_PW }}