1.17.0 #31
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
on: | |
release: | |
types: [published] | |
name: Add artifacts to release | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Echo (debug) action details | |
uses: hmarr/debug-action@v2 | |
- name: Checkout the tag of the release | |
uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.event.release.tag_name }} | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- name: Run npm install and npm run build | |
run: | | |
npm i | |
npm run ci:release | |
- name: Upload Release Asset | |
uses: softprops/action-gh-release@v1 | |
if: startsWith(github.ref, 'refs/tags/') | |
with: | |
files: ./dist/home-frontend.zip |