Skip to content

Remove conditional if checks for prerelease in publish-dev workflow #71

Remove conditional if checks for prerelease in publish-dev workflow

Remove conditional if checks for prerelease in publish-dev workflow #71

Workflow file for this run

name: Publish DEV
on:
push:
branches:
- dev
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20.x
cache: npm
- run: |
npm ci
npm run build
npm run test
build-publish:
needs: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20.x
cache: npm
registry-url: https://registry.npmjs.org/
- run: |
npm ci
npm run build
npm publish --access public --tag dev
env:
NODE_AUTH_TOKEN: ${{secrets.NODE_TKN}}