mirror of
https://github.com/appwrite/console.git
synced 2026-06-06 19:27:48 +00:00
27 lines
487 B
YAML
27 lines
487 B
YAML
name: Tests
|
|
|
|
on:
|
|
push:
|
|
branches: [main]
|
|
pull_request:
|
|
branches: [main]
|
|
|
|
env:
|
|
VITE_APPWRITE_ENDPOINT: http://appwrite.test/v1
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- name: Use Node.js
|
|
uses: actions/setup-node@v2
|
|
with:
|
|
node-version: 16
|
|
- name: Install dependencies
|
|
run: npm ci
|
|
- run: npm run build
|
|
- run: npm run check
|
|
- run: npm run lint
|
|
- run: npm test
|