Skip to content

ロジックを修正 #41

ロジックを修正

ロジックを修正 #41

Workflow file for this run

name: unit test
on:
pull_request:
branches: [master]
push:
branches: [master]
jobs:
test:
runs-on: Ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
ref: ${{github.event.pull_request.head.sha}}
- uses: actions/setup-node@v4
with:
node-version: 20
- name: install dependencies
run: npm ci
- name: Run test
run: npm test
env:
SPLITWISE_GROUP_ID: ${{ secrets.SPLITWISE_GROUP_ID }}
USER1_ID: ${{ secrets.USER1_ID }}
USER2_ID: ${{ secrets.USER2_ID }}
USER1_RATE: ${{ secrets.USER1_RATE }}
USER2_RATE: ${{ secrets.USER2_RATE }}