Skip to content

chore(deps): update jest monorepo to v27.5.1 #427

chore(deps): update jest monorepo to v27.5.1

chore(deps): update jest monorepo to v27.5.1 #427

Workflow file for this run

# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
# github actions 中文文档 https://docs.github.com/cn/actions/getting-started-with-github-actions
name: unit test
on:
push:
branches:
- 'main'
- 'master'
- 'dev'
- '^(dev-.*|dev/.*)$'
- '^(feature-.*|feature/.*)$'
- '^(fix-.*|fix/.*)$'
- '^(hotfix-.*|hotfix/.*)$'
- '^(refactor-.*|refactor/.*)$'
- '^(test-.*|test/.*)$'
paths:
- '.github/workflows/*'
- 'packages/**'
- 'tests/**'
- 'build/**'
pull_request:
branches:
- master
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 18.x
registry-url: https://registry.npmjs.com
- name: Install dependencies
run: yarn install
- name: Build packages
run: yarn build
- name: Unit test
run: yarn run test