Skip to content

v4.0.0-rc.5

v4.0.0-rc.5 #8

Workflow file for this run

name: 'Publish'
on:
release:
types: [published]
env:
NODE_VERSION: 20.x
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
registry-url: 'https://registry.npmjs.org'
scope: '@tray-tecnologia'
cache: 'npm'
- run: npm ci
- run: npm run build
- run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- uses: actions/upload-artifact@v4
with:
name: ds-build
path: dist/