Skip to content

Configureのリファクタ #3

Configureのリファクタ

Configureのリファクタ #3

Workflow file for this run

name: Lint and Test
on:
push:
branches:
- '**'
- '!main'
- '!release/**'
paths:
- '**.js'
jobs:
lint_and_test:
runs-on: ubuntu-latest
defaults:
run:
shell: bash
steps:
- name: Checkout branch
uses: actions/checkout@v4
- name: Set up node
uses: actions/setup-node@v4
with:
node-version: ${{ vars.DEFAULT_NODE_VERSION }}
cache: npm
cache-dependency-path: package-lock.json
- name: Set up npm
run: |
npm ci
- name: Exec lint command
run: |
npm run lint
- name: Exec test command
run: |
npm run test