mirror of
https://github.com/standardnotes/server
synced 2026-07-13 05:01:06 -04:00
25 lines
479 B
YAML
25 lines
479 B
YAML
name: Pull Request
|
|
|
|
on:
|
|
pull_request:
|
|
branches:
|
|
- main
|
|
|
|
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'
|
|
- name: ESLint
|
|
run: yarn lint
|
|
- name: Build
|
|
run: yarn build
|
|
- name: Test
|
|
run: yarn test
|