BUG - Fix release workflow #130
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: Build conda-store-ui | |
on: | |
pull_request: | |
branches: | |
- '*' | |
push: | |
branches: | |
- main | |
workflow_call: | |
jobs: | |
build: | |
name: "Build Package" | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Checkout repository 🛎" | |
uses: actions/checkout@v4 | |
- name: "Set up Node.js 🧶" | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '16.x' | |
- name: "Install dependencies 📦" | |
run: yarn | |
- name: "Lint code 🔍" | |
run: yarn eslint:check | |
- name: "Build application 🏗" | |
run: yarn run build | |
- name: "Build application artifacts 🏗" | |
run: yarn run webpack bundle | |
- name: "Upload artifacts 📤" | |
uses: actions/upload-artifact@v3 | |
with: | |
name: webpack-bundle | |
path: dist/ |