Skip to content

chore(deps): update jest monorepo to v29 (major) #1026

chore(deps): update jest monorepo to v29 (major)

chore(deps): update jest monorepo to v29 (major) #1026

Workflow file for this run

name: CI
on:
push:
branches:
- '*'
pull_request:
branches:
- '*'
workflow_dispatch:
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: ⬇️ Checkout Repo
uses: actions/checkout@v2
- name: βŽ” Setup Node.js
uses: actions/setup-node@v2
with:
node-version: 17
- name: πŸ“₯ Install dependencies
run: yarn install
- name: πŸ§ͺ Test package
run: yarn test
release:
name: Release
needs: test
if: ${{ github.ref == 'refs/heads/master' && github.event_name != 'pull_request'}}
runs-on: ubuntu-latest
steps:
- name: πŸ›‘ Cancel Previous Runs
uses: styfle/[email protected]
with:
access_token: ${{ secrets.GITHUB_TOKEN }}
- name: ⬇️ Checkout Repo
uses: actions/checkout@v2
- name: πŸ“₯ Install dependencies
run: yarn install
- name: πŸ— Build package
run: yarn build
- name: πŸš€ Release
uses: cycjimmy/semantic-release-action@v2
id: semantic
with:
semantic_version: 18
extra_plugins: |
@semantic-release/changelog@6
@semantic-release/git@10
[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}