do not test node 18 (drop support for it) #21
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 Yarn to correct version 📌" | |
run: corepack enable | |
- name: "Set up Node.js 🧶" | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
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/ |