Export WebApp [ Hackweek ] #15
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: Export WebApp [ Hackweek ] | |
on: | |
workflow_dispatch: | |
inputs: | |
tag: | |
type: input | |
description: 'unique tag' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js 18.x | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 18.x | |
- name: Build WebApp | |
run: | | |
yarn | |
yarn build | |
- name: Uploading artifact | |
if: always() | |
uses: actions/upload-artifact@v3 | |
with: | |
name: webapp-${{ github.event.inputs.tagx }} | |
path: ./build | |
retention-days: 1 |