Skip to content

chore(deps): update the deps to try and fix the build prcess #306

chore(deps): update the deps to try and fix the build prcess

chore(deps): update the deps to try and fix the build prcess #306

name: publish-release
on:
push:
branches: [master, alpha, beta]
workflow_dispatch:
jobs:
publish-release:
name: Running release
if:
"contains(toJSON(github.event.commits.*.message), 'chore(release):')"
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
env:
CI: true
steps:
- name: 🛒 Checkout code
uses: actions/checkout@v3
with:
fetch-depth: 0
token: ${{ secrets.GH_TOKEN }}
- name: 🚀 Publish package to GitHub Packages
uses: actions/setup-node@v3
with:
node-version: '18.x'
registry-url: 'https://npm.pkg.github.com'
# Defaults to the user or organization that owns the workflow file
scope: '@trixtateam'
- run: yarn
- run: yarn publish:libs
env:
NODE_AUTH_TOKEN: ${{ secrets.GH_TOKEN }}
- name: 🚀 Publish package to NPM Registry
uses: actions/setup-node@v3
with:
node-version: '18.x'
registry-url: 'https://registry.npmjs.org'
# Defaults to the user or organization that owns the workflow file
scope: '@trixtateam'
- run: yarn
- run: yarn publish:libs
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}