Rename things to items (#244) #1027
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 | |
on: | |
push: | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 22.x | |
- name: Install pnpm | |
uses: pnpm/action-setup@v4.0.0 | |
with: | |
version: 9.x | |
- name: install | |
run: pnpm install --filter !@garden/end-to-end | |
- name: lint | |
run: pnpm lint | |
- name: unit test | |
run: pnpm test | |
- name: build packages | |
run: pnpm build:packages | |
- name: test packages | |
run: pnpm test:packages | |
- name: build | |
run: | | |
pnpm build:prepare | |
pnpm build | |
end-to-end: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 22.x | |
- name: Install pnpm | |
uses: pnpm/action-setup@v4.0.0 | |
with: | |
version: 9.x | |
- name: install | |
run: pnpm install | |
- name: install playwright dependencies | |
run: pnpm exec playwright install | |
working-directory: ./packages/end-to-end | |
- name: e2e test | |
run: | | |
pnpm build:prepare | |
pnpm test:build | |
pnpm test:e2e | |
- name: cucumber | |
run: pnpm test:e2e:cucumber:dev |