Skip to content

Testing

Testing #108

Workflow file for this run

name: Test
on:
pull_request:
jobs:
build: # make sure build/ci work properly
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: |
npm ci
- run: |
npm run all
test: # make sure the action works on a clean machine without building
runs-on: ubuntu-latest
environment:
name: Test
permissions:
contents: read
id-token: write
pull-requests: write
steps:
- uses: actions/checkout@v4
- name: AzCLI login
uses: azure/login@v1
with:
client-id: ${{ vars.AZURE_CLIENT_ID }}
tenant-id: ${{ vars.AZURE_TENANT_ID }}
subscription-id: ${{ vars.AZURE_SUBSCRIPTION_ID }}
- name: Live Test
uses: ./
with:
action: validate
config: test/live/config.json