build(deps): bump path-to-regexp and express in /functions #2734
Workflow file for this run
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: Test | |
on: | |
- push | |
- pull_request | |
jobs: | |
test-js: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Tools | |
uses: asdf-vm/actions/install@v3 | |
- name: Before Install | |
run: | | |
mkdir -p shogi/boards | |
touch shogi/boards/temp.sqlite3 | |
- run: npm ci | |
- name: Typecheck files not covered by tests | |
run: npx tsc --noEmit | |
env: | |
NODE_OPTIONS: --max-old-space-size=4096 | |
- name: Test | |
run: npm run test:coverage | |
env: | |
NODE_OPTIONS: --trace-warnings --trace-deprecation --trace-exit --trace-uncaught --unhandled-rejections=strict --max-old-space-size=4096 | |
- name: Set up reviewdog | |
if: ${{ github.event_name == 'pull_request' }} | |
uses: reviewdog/action-setup@v1 | |
with: | |
reviewdog_version: latest | |
- name: Run reviewdog | |
continue-on-error: true | |
if: ${{ github.event_name == 'pull_request' }} | |
env: | |
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: | | |
git ls-files | grep eslintrc | xargs -L 1 dirname | paste -sd ' ' | xargs -I {} sh -c "npx eslint --ext js,ts -f rdjson {} | reviewdog -f=rdjson -name=ESLint -reporter=github-pr-review" | |
- name: codecov | |
continue-on-error: true | |
run: npx codecov | |
test-rust: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Tools | |
uses: asdf-vm/actions/install@v3 | |
- name: build | |
run: cargo build --all --verbose | |
- name: test | |
run: cargo test --all --verbose |