20 lines
439 B
YAML
20 lines
439 B
YAML
name: Build and Test
|
|
on: pull_request
|
|
|
|
jobs:
|
|
build-and-test:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
- name: Setup Node
|
|
uses: actions/setup-node@v4
|
|
with:
|
|
node-version: 'lts/*'
|
|
- name: Install Dependencies
|
|
run: npm install
|
|
- name: Build
|
|
run: npm run build
|
|
- name: Lint
|
|
run: npm run lint
|
|
- name: Test
|
|
run: npm run test
|