chore(deps): update actions/setup-dotnet action to v4.0.1 #140
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
on: | |
workflow_dispatch: | |
push: | |
branches: [main, develop, next/v3.0.0] | |
permissions: | |
contents: write # to be able to publish a GitHub release | |
id-token: write # to enable use of OIDC for npm provenance | |
issues: write # to be able to comment on released issues | |
pull-requests: write # to be able to comment on released pull requests | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
submodules: "recursive" | |
fetch-depth: 0 | |
- uses: actions/setup-node@v4 | |
with: | |
cache: "npm" | |
node-version-file: package.json # The Node.js version to use is derived from package.json's "engine.node" property. | |
check-latest: true | |
- run: npm i -g npm@latest # Ensures the latest NPM CLI is used | |
- run: npm ci | |
- run: npm audit signatures | |
- run: npm run pack | |
- run: npm run check | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- run: npx semantic-release # make git tag, commit updated files, release to GitHub/GitLab. | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |