Skip to content

Commit

Permalink
Create test_build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
VPKSoft committed Oct 1, 2023
1 parent 01130ba commit 00bff26
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/test_build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: Lint & Test package
on:
push:
paths-ignore:
- '**.md'
workflow_dispatch:

jobs:
test:
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Sync node version and setup cache
uses: actions/setup-node@v3
with:
node-version: 'lts/*'
cache: 'npm' # Set this to npm, yarn or pnpm.

- name: Install frontend dependencies
# If you don't have `beforeBuildCommand` configured you may want to build your frontend here too.
run: npm install # Change this to npm, yarn or pnpm.

- name: Build
run: npm run build

- name: Lint
run: npm run lint

- name: Test
run: npm run test

0 comments on commit 00bff26

Please sign in to comment.