Skip to content

Tornar o worker mais resiliente a erros de compilação #127

Tornar o worker mais resiliente a erros de compilação

Tornar o worker mais resiliente a erros de compilação #127

Workflow file for this run

name: Publish
on:
push:
branches:
- main
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
- name: Setup Node.js 📦
uses: actions/setup-node@v4
with:
node-version: 20
registry-url: "https://npm.pkg.github.com"
scope: "@portugol-webstudio"
- name: Install dependencies 🔧
run: |
npm ci --include=dev
- name: Build code 🚚
run: |
npm run build
npm run release
- name: Publish 🚀
run: |
cp -r LICENSE packages/*
npx lerna publish 0.0.0-dev.${{ github.run_number }} --no-git-tag-version --no-push --yes
env:
NODE_AUTH_TOKEN: ${{ secrets.REGISTRY_GITHUB_TOKEN }}