Skip to content

feat: setup github actions #14

feat: setup github actions

feat: setup github actions #14

Workflow file for this run

name: Test
on:
push:
pull_request:
workflow_dispatch:
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout branch
uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node_version }}
uses: actions/setup-node@v3
with:
node-version: 18
- name: Lint
run: |
npm install
npm run lint
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Checkout branch
uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node_version }}
uses: actions/setup-node@v3
with:
node-version: 18
- name: Test
run: |
npm install
npm run test