mirror of
https://github.com/standardnotes/app
synced 2026-01-16 19:04:58 -05:00
32 lines
666 B
YAML
32 lines
666 B
YAML
name: General PR
|
|
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
paths:
|
|
- '**/**'
|
|
|
|
jobs:
|
|
test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout code
|
|
uses: actions/checkout@v3
|
|
- name: Set up Node
|
|
uses: actions/setup-node@v3
|
|
with:
|
|
registry-url: 'https://registry.npmjs.org'
|
|
node-version-file: '.nvmrc'
|
|
cache: 'yarn'
|
|
- name: Install dependencies
|
|
run: yarn install --immutable
|
|
- name: Build
|
|
run: yarn build:all
|
|
- name: ESLint
|
|
run: yarn lint
|
|
- name: Build Android
|
|
run: yarn android:bundle
|
|
- name: Test
|
|
run: yarn test
|