Skip to content

Commit

Permalink
Update GHA to include verify and production build only on main
Browse files Browse the repository at this point in the history
  • Loading branch information
kaisalmen committed May 17, 2024
1 parent 4a08d3c commit 0fb7ad2
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,24 +25,36 @@ jobs:
- name: Use pnpm
uses: pnpm/action-setup@v3
with:
version: 8
version: 9

- name: Install
shell: bash
run: |
npm ci
- name: Lint
shell: bash
run: |
npm run lint
- name: Build
shell: bash
run: |
npm run build
- name: Test
shell: bash
run: |
npm run test:run
- name: Build production
if: github.ref_name == 'main'
shell: bash
run: |
npm run vite:build
- name: Verify
if: github.ref_name == 'main'
shell: bash
run: |
bash ./verify/buildAll.sh

0 comments on commit 0fb7ad2

Please sign in to comment.