The actual changes needed #5
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: 18 | |
cache: 'yarn' | |
- 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/ |