Skip to content

Prerelease

Prerelease #7

Workflow file for this run

name: Prerelease
on:
workflow_dispatch:
jobs:
prerelease:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v4
with:
token: ${{ secrets.GH_TOKEN }}
fetch-depth: 0
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: '18.13.0'
registry-url: 'https://registry.npmjs.org'
- name: Setup Git
run: |
git config --global user.email "action@github.com"
git config --global user.name "Github Action"
- name: Setup NPM
run: echo //registry.npmjs.org/:_authToken=${NPM_TOKEN} > .npmrc
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Install
run: npm ci
- name: Build
run: npm run build -- --projects vertis
- name: Version
run: npm run version:prerelease
- name: Publish
run: npm run publish:prerelease