Skip to content

[i18n] Translations update from Hosted Weblate (#1207) #120

[i18n] Translations update from Hosted Weblate (#1207)

[i18n] Translations update from Hosted Weblate (#1207) #120

Workflow file for this run

name: Draft Release Linux
on:
push:
tags:
- 'v*'
workflow_dispatch:
env:
GITHUB_TOKEN: ${{ secrets.WORKFLOW_TOKEN }}
GH_TOKEN: ${{ secrets.WORKFLOW_TOKEN }}
jobs:
draft-releases:
runs-on: ubuntu-latest
steps:
- name: Update deps
run: sudo apt-get update
- run: sudo apt-get install --no-install-recommends -y libarchive-tools libopenjp2-tools rpm
- name: Checkout repository.
uses: actions/checkout@v4
- name: Setup NodeJS
uses: actions/setup-node@v4
with:
node-version: '20'
- uses: pnpm/action-setup@v3
with:
standalone: ${{ runner.os == 'Windows' }}
- name: Install node-gyp
run: pnpm add --global node-gyp
shell: bash
- name: Reconfigure git to use HTTP authentication
run: >
git config --global url."https://github.com/".insteadOf
ssh://[email protected]/
- name: Authenticate with private NPM package
run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
- name: Install modules.
run: pnpm run setup
- name: setup env production file
run: |
echo "VITE_LD_ENVIRONMENT_ID=${{ secrets.VITE_LD_ENVIRONMENT_ID }}" > .env.production
echo "VITE_IPFS_API=${{ secrets.VITE_IPFS_API }}" >> .env.production
- name: Build artifacts.
run: pnpm run release:linux