Skip to content

chore: update @jscutlery/semver #73

chore: update @jscutlery/semver

chore: update @jscutlery/semver #73

Workflow file for this run

name: Release
on:
workflow_dispatch:
push:
branches: [beta]
jobs:
release:
runs-on: ubuntu-latest
env:
NX_SKIP_NX_CACHE: true
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20
registry-url: https://registry.npmjs.org/
- name: Setup Git
run: |
git config user.name "GitHub Actions"
git config user.email "twittwer@users.noreply.github.com"
- name: Install Dependencies
run: npm ci
- name: Beta Release
if: ${{ github.ref == 'refs/heads/beta' }}
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npx nx run compodoc:release:beta
- name: Release
if: ${{ github.ref == 'refs/heads/main' }}
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npx nx run compodoc:release:remote