Skip to content

chore(release): publish 0.0.7-3 #14

chore(release): publish 0.0.7-3

chore(release): publish 0.0.7-3 #14

name: Version and Release
on:
push:
tags:
- 'v*.*.*'
jobs:
versioning:
name: Versioning and Publishing to NPM
environment: packages-releasing
runs-on: ubuntu-22.04
permissions:
contents: read
id-token: write
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
cache: 'npm'
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
run: npm install
- name: Build packages
run: npx nx run-many --targets build --exclude vctrl/official-website,official-website-e2e
- name: Setup Git
run: |
git config --global user.email "<>"
git config --global user.name "github-actions[bot]"
- name: Print Environment Info
run: npx nx report
shell: bash
- name: Publish packages
run: npx nx release publish
shell: bash
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_CONFIG_PROVENANCE: true