Merge pull request #394 from yoshikazusawa/fix-issue-393 #19
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Master | |
on: | |
push: | |
branches: [ "master" ] | |
# Allows you to run this workflow manually from the Actions tab | |
workflow_dispatch: | |
# Sets the GITHUB_TOKEN permissions to allow deployment to GitHub Pages | |
permissions: | |
contents: write | |
pages: write | |
id-token: write | |
jobs: | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
environment: testing | |
steps: | |
- name: 👌🏻 Checkout | |
uses: actions/checkout@v3 | |
- name: Install dependencies | |
run: npm ci | |
- name: 🔎 Run tests | |
run: npm run test | |
- name: Run unit tests | |
run: npm run test:unit |