Skip to content

ci(crowdin): fix base_path property in upload crowding workflow #192

ci(crowdin): fix base_path property in upload crowding workflow

ci(crowdin): fix base_path property in upload crowding workflow #192

Workflow file for this run

name: Pre-release tag
on:
push:
branches:
- main
jobs:
publish-dist-tag:
runs-on: ubuntu-latest
permissions:
packages: write
issues: write
contents: write
pull-requests: write
steps:
- name: Generate Token
id: get_workflow_token
uses: actions/create-github-app-token@v1
with:
app-id: ${{ secrets.SEMANTIC_RELEASE_APP_ID }}
private-key: ${{ secrets.SEMANTIC_RELEASE_APP_PRIVATE_KEY }}
- name: Checkout
uses: actions/checkout@v6
with:
token: ${{ steps.get_workflow_token.outputs.token }}
persist-credentials: false
fetch-depth: 0
- name: Setup Node.js environment
uses: actions/setup-node@v6
with:
node-version-file: '.nvmrc'
- name: Install dependencies
env :
CI: true
run: |
npm pkg delete scripts.prepare
npm ci
- name: Run build
run: |
npm run build
- name: Pre-release tag main 📦
if: success()
run: npm run release:ci
env:
GITHUB_TOKEN: ${{ steps.get_workflow_token.outputs.token }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
- name: Pre-release main tag failed 🫣
if: failure()
run: |
echo "It seems something didn't go as planned 🤔"
exit 1