bump 0.22.0 (#1155) #108
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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@v3 | |
with: | |
node-version: '20' | |
cache: 'yarn' | |
- 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: yarn 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: yarn run release:linux |