v2.0.0-beta.11 (1.9.10) #40
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: Release | |
on: | |
push: | |
tags: | |
- 'v*' | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
env: | |
VITE_CHAIN_ID: ${{ secrets.VITE_CHAIN_ID }} | |
VITE_LENS_API: ${{ secrets.VITE_LENS_API }} | |
VITE_LENS_HUB_CONTRACT: ${{ secrets.VITE_LENS_HUB_CONTRACT }} | |
VITE_LENS_PREVIEW_NODE: ${{ secrets.VITE_LENS_PREVIEW_NODE }} | |
VITE_ENS_REVERSE_RECORDS: ${{ secrets.VITE_ENS_REVERSE_RECORDS }} | |
VITE_INFURA_PROJECT_ID: ${{ secrets.VITE_INFURA_PROJECT_ID }} | |
VITE_INFURA_IPFS_PROJECT_ID: ${{ secrets.VITE_INFURA_IPFS_PROJECT_ID }} | |
VITE_INFURA_IPFS_PROJECT_SECRET: ${{ secrets.VITE_INFURA_IPFS_PROJECT_SECRET }} | |
VITE_INFURA_GATEWAY_URL: ${{ secrets.VITE_INFURA_GATEWAY_URL }} | |
VITE_GIPHY_KEY: ${{ secrets.VITE_GIPHY_KEY }} | |
VITE_WALLETCONNECT_PROJECT_ID: ${{ secrets.VITE_WALLETCONNECT_PROJECT_ID }} | |
VITE_ALCHEMY_ETH_API_KEY: ${{ secrets.VITE_ALCHEMY_ETH_API_KEY }} | |
VITE_ALCHEMY_MATIC_API_KEY: ${{ secrets.VITE_ALCHEMY_MATIC_API_KEY }} | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Install and Build | |
env: | |
NODE_OPTIONS: "--max_old_space_size=4096" | |
run: | | |
npm ci | |
npm run build | |
- name: Create Zip | |
run: zip -r focalize-${{ github.ref_name }}.zip dist | |
- name: Create GitHub Release | |
uses: ncipollo/release-action@v1 | |
with: | |
artifacts: "focalize-${{ github.ref_name }}.zip" | |
token: ${{ secrets.GITHUB_TOKEN }} |