Skip to content

pre-publish

pre-publish #17

Workflow file for this run

name: pre-publish
on:
push:
tags:
- 'v[0-9]+.[0-9]+.[0-9]+-beta.[0-9]+'
concurrency:
group: prepublish-${{ github.sha }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
container:
image: node:16.16.0
env:
DEBIAN_FRONTEND: noninteractive
steps:
- uses: actions/checkout@v3
- uses: ./.github/workflows/actions/build
- name: Publish beta version to npmjs.org
run: yarn publish --access public --tag beta
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}