Skip to content

Release

Release #10

Workflow file for this run

name: Release
on:
workflow_dispatch:
jobs:
localization:
uses: ./.github/workflows/crowdin.yml
secrets:
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
PAT: ${{ secrets.PAT }}
release:
runs-on: ubuntu-latest
needs:
- localization
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
token: ${{ secrets.PAT }}
- name: Prepare
uses: ./.github/actions/prepare
- name: Release Production
run: yarn run release-prod
env:
REF: ${{ github.ref }}
GH_TOKEN: ${{ github.token }}
# Github will create .npmrc based on this env variable.
# https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages#publishing-packages-to-the-npm-registry
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}