Simple store example #255
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: ⚙️ CI | |
# The GitHub events we want this workflow to run in response to. | |
# The hanging `pull_request:` may look odd, but all it does is say "run on every PR". | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
jobs: | |
build: | |
name: 🔨 Build | |
runs-on: ubuntu-latest | |
steps: | |
# Checkout this repo on the GitHub runner. | |
# When the runner starts executing the jobs in this workflow, | |
# it literally doesn't even have the code in this repo yet. | |
- uses: actions/checkout@v3 | |
- run: corepack enable | |
# It doesn't have Node.js either; we have to set it up before we can do Node.js things. | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
- run: yarn install | |
shell: bash | |
- name: 🧹 Lint | |
run: yarn lint | |
- name: 🔨 Build | |
run: yarn build |