Skip to content

build: update dependencies #10

build: update dependencies

build: update dependencies #10

Workflow file for this run

name: Release
on:
push:
branches: ["master"]
workflow_dispatch:
jobs:
release:
name: Release
runs-on: ubuntu-latest
permissions:
contents: write # to be able to publish a GitHub release
issues: write # to be able to comment on released issues
pull-requests: write # to be able to comment on released pull requests
id-token: write # to enable use of OIDC for npm provenance
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
token: ${{ secrets.GIT_TOKEN }}
- name: Setup Node.js
uses: actions/setup-node@v3
with:
cache: npm
- run: npm ci
- run: npm run test
- run: npm run build
- name: Verify the integrity of provenance attestations and registry signatures for installed dependencies
run: npm audit signatures
- name: Setup npm auth
run: |
echo "//registry.npmjs.org :_authToken=${{ secrets.NPM_TOKEN }}" >> .npmrc
echo "access=public" >> .npmrc
- name: Show git user
run: git config --list
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GIT_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npm exec -- semantic-release