Skip to content

Release v3.1.0 (#85) #6

Release v3.1.0 (#85)

Release v3.1.0 (#85) #6

Workflow file for this run

name: Create npm and GitHub Release

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

View workflow run for this annotation

GitHub Actions / .github/workflows/release.yml

Invalid workflow file

(Line: 18, Col: 13): Unexpected value '', (Line: 19, Col: 11): Unexpected value './.github/workflows/npm-release.yml', (Line: 21, Col: 7): Unexpected value 'node-version', (Line: 22, Col: 7): Unexpected value 'require-build', (Line: 21, Col: 7): There's not enough info to determine what you meant. Add one of these properties: cancel-timeout-minutes, container, continue-on-error, defaults, env, environment, outputs, runs-on, secrets, services, snapshot, steps, timeout-minutes, uses, with, (Line: 24, Col: 7): Unexpected value 'npm-token', (Line: 25, Col: 7): Unexpected value 'github-token', (Line: 24, Col: 7): There's not enough info to determine what you meant. Add one of these properties: cancel-timeout-minutes, container, continue-on-error, defaults, env, environment, outputs, runs-on, secrets, services, snapshot, steps, timeout-minutes, uses, with
on:
pull_request:
types:
- closed
workflow_dispatch:
permissions:
contents: write
id-token: write # For publishing to npm using --provenance
### TODO: Replace instances of './.github/workflows/' w/ `auth0/dx-sdk-actions/workflows/` and append `@latest` after the common `dx-sdk-actions` repo is made public.
### TODO: Also remove `get-prerelease`, `get-release-notes`, `get-version`, `npm-publish`, `release-create`, and `tag-exists` actions from this repo's .github/actions folder once the repo is public.
### TODO: Also remove `npm-release` workflow from this repo's .github/workflows folder once the repo is public.
jobs:
release:
uses: ./.github/workflows/npm-release.yml
with:
node-version: ${{ github.event.inputs.node-version || '18' }}
require-build: true
secrets:
npm-token: ${{ secrets.NPM_TOKEN }}
github-token: ${{ secrets.GITHUB_TOKEN }}