Run CI on pull requests + Test packaging

This commit is contained in:
venashial
2022-07-16 17:04:53 -07:00
parent 5d1bfa18b1
commit 566e5dea57

View File

@@ -1,6 +1,6 @@
name: CI
on: push
on: [push, pull_request]
jobs:
lint:
@@ -22,6 +22,8 @@ jobs:
run: pnpm install --frozen-lockfile
- name: Run build
run: VITE_API_URL="https://staging-api.modrinth.com/v2/" pnpm build
- name: Run package
run: pnpm package
- name: Run lint
run: pnpm lint
- name: Run check