ci: add dev branch workflow
This commit is contained in:
28
.gitea/workflows/dev.yml
Normal file
28
.gitea/workflows/dev.yml
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
name: Dev Branch Check
|
||||||
|
on:
|
||||||
|
push:
|
||||||
|
branches-ignore:
|
||||||
|
- main
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
validate:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- name: 🏗 Setup repo
|
||||||
|
uses: actions/checkout@v2
|
||||||
|
|
||||||
|
- name: 🏗 Setup Node
|
||||||
|
uses: actions/setup-node@v2
|
||||||
|
with:
|
||||||
|
node-version: 22
|
||||||
|
|
||||||
|
- name: 🏗 Setup pnpm
|
||||||
|
uses: pnpm/action-setup@v4
|
||||||
|
with:
|
||||||
|
version: latest
|
||||||
|
|
||||||
|
- name: 📦 Install dependencies
|
||||||
|
run: pnpm install
|
||||||
|
|
||||||
|
- name: 🧪 Check for linting/type errors
|
||||||
|
run: npx expo export --platform web
|
||||||
Reference in New Issue
Block a user