Skip to content

chore(deps): update dependency @types/node to v18.19.33 #633

chore(deps): update dependency @types/node to v18.19.33

chore(deps): update dependency @types/node to v18.19.33 #633

Workflow file for this run

name: Unit Test
on:
pull_request:
branches: [main]
push:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x, 16.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: |
yarn
- name: Type Check
run: |
yarn typecheck
- name: Unit Test
run: |
yarn test
- name: Collecting Code Coverage
uses: codecov/codecov-action@v3
- name: Production Build
run: |
CI=false yarn build
- name: if fail
uses: actions/github-script@v6.4.1
with:
github-token: ${{github.token}}
script: |
const ref = "${{github.ref}}"
const pull_number = Number(ref.split("/")[2])
await github.pulls.createReview({
...context.repo,
pull_number,
body: "Check your test",
event: "REQUEST_CHANGES"
})
if: failure()