Skip to content

Update npm - all minor and patch updates (#265) #264

Update npm - all minor and patch updates (#265)

Update npm - all minor and patch updates (#265) #264

Workflow file for this run

name: Release (NPM)
on:
push:
branches: ['main']
jobs:
static-checks-npm:
uses: digicatapult/shared-workflows/.github/workflows/static-checks-npm.yml@main
with:
matrix_commands: '["lint", "depcheck", "check", "xss-scan"]'
tests-npm:
uses: digicatapult/shared-workflows/.github/workflows/tests-npm.yml@main
with:
docker_compose_file: ''
npm_build_command: 'npm run tsoa:build'
e2e-tests-npm:
uses: digicatapult/shared-workflows/.github/workflows/tests-e2e-npm.yml@main
with:
docker_compose_file: ''
pre_test_command: 'npm ci && npx playwright install-deps && npx playwright install'
test_command: 'npm run test:playwright || exit 1'
permissions:
contents: write
secrets: inherit
build-docker:
needs: [e2e-tests-npm, tests-npm, static-checks-npm]
uses: digicatapult/shared-workflows/.github/workflows/build-docker.yml@main
with:
push_dockerhub: true
push_ghcr: true
permissions:
packages: write
contents: write
secrets:
DOCKERHUB_TOKEN: ${{ secrets.SQNC_DOCKERHUB_TOKEN }}
DOCKERHUB_USERNAME: ${{ secrets.SQNC_DOCKERHUB_USERNAME }}
release-github:

Check failure on line 36 in .github/workflows/release.yml

View workflow run for this annotation

GitHub Actions / Release (NPM)

Invalid workflow file

The workflow is not valid. .github/workflows/release.yml (Line: 36, Col: 3): Error calling workflow 'digicatapult/shared-workflows/.github/workflows/release-github.yml@main'. The workflow is requesting 'pull-requests: read', but is only allowed 'pull-requests: none'.
needs: [build-docker]
uses: digicatapult/shared-workflows/.github/workflows/release-github.yml@main
permissions:
contents: write
secrets: inherit