Skip to content

release

release #10

Workflow file for this run

# ~~ Generated by projen. To modify, edit .projenrc.ts and run "npx projen".
name: release
on:
workflow_dispatch: {}
push:
branches:
- main
jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: read
checks: read
statuses: read
security-events: write
packages: write
environment:
name: publishEnv
steps:
- name: Checkout
uses: actions/checkout@v3
with:
persist-credentials: false
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18
registry-url: https://registry.npmjs.org
scope: "@affinidi"
- name: Install dependencies
run: npm ci
- name: build
run: npm run build
- name: release
env:
NODE_AUTH_TOKEN: ${{ secrets.PUBLIC_NPM_NODE_AUTH_TOKEN }}
GITHUB_TOKEN: ${{ secrets.PERSONAL_GITHUB_TOKEN }}
run: npm run semantic-release