Skip to content

Merge pull request #227 from mitsue-links/dependabot/github_actions/a… #372

Merge pull request #227 from mitsue-links/dependabot/github_actions/a…

Merge pull request #227 from mitsue-links/dependabot/github_actions/a… #372

Workflow file for this run

name: test
on:
push:
branches:
- main
pull_request:
jobs:
test:
name: Test (node.js 14 on ubuntu-latest)
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.1.1
- name: Use node.js 14
uses: actions/setup-node@v3.6.0
with:
node-version: 14
- name: Install npm@v8
run: npm i -g npm@v8
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build --if-present
- name: Run tests
run: npm run test