You've already forked AstralRinth
forked from didirus/AstralRinth
Run CI on pull requests + Test packaging
This commit is contained in:
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@@ -1,6 +1,6 @@
|
|||||||
name: CI
|
name: CI
|
||||||
|
|
||||||
on: push
|
on: [push, pull_request]
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
lint:
|
lint:
|
||||||
@@ -22,6 +22,8 @@ jobs:
|
|||||||
run: pnpm install --frozen-lockfile
|
run: pnpm install --frozen-lockfile
|
||||||
- name: Run build
|
- name: Run build
|
||||||
run: VITE_API_URL="https://staging-api.modrinth.com/v2/" pnpm build
|
run: VITE_API_URL="https://staging-api.modrinth.com/v2/" pnpm build
|
||||||
|
- name: Run package
|
||||||
|
run: pnpm package
|
||||||
- name: Run lint
|
- name: Run lint
|
||||||
run: pnpm lint
|
run: pnpm lint
|
||||||
- name: Run check
|
- name: Run check
|
||||||
|
|||||||
Reference in New Issue
Block a user