Skip to content

chore(release): 1.17.3 #91

chore(release): 1.17.3

chore(release): 1.17.3 #91

name: Release and Publish
on:
push:
branches:
- main
jobs:
release-publish:
name: Release and Publish
runs-on: ubuntu-latest
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: 16
registry-url: "https://gitlab.com/api/v4/packages/npm/"
scope: "@affinidi"
- name: Install dependencies
run: npm install
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
- name: Build
run: npm run esbuild
env:
ANALYTICS_JWT_TOKEN: ${{secrets.ANALYTICS_JWT_TOKEN}}
- name: Release and Publish
run: npm run semantic-release
env:
GITHUB_TOKEN: ${{ secrets.PERSONAL_GITHUB_TOKEN }}
VSCE_PAT: ${{ secrets.PUBLISHER_TOKEN }}
ANALYTICS_JWT_TOKEN: ${{secrets.ANALYTICS_JWT_TOKEN}}