2024-03-17 15:55:53 +00:00
|
|
|
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
|
2024-04-30 03:17:15 +00:00
|
|
|
- name: Lint
|
|
|
|
run: npm run lint
|
2024-03-17 15:55:53 +00:00
|
|
|
- name: Test
|
|
|
|
run: npm run test
|