Skip to content
This repository has been archived by the owner on May 16, 2024. It is now read-only.

Update @testing-library/jest-dom to v6 #74

Update @testing-library/jest-dom to v6

Update @testing-library/jest-dom to v6 #74

Workflow file for this run

name: Release
on:
pull_request:
push:
branches:
- main
- next
jobs:
release:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, 'ci skip') && !contains(github.event.head_commit.message, 'skip ci')"
steps:
- uses: actions/checkout@v3
- name: Prepare repository
run: git fetch --unshallow --tags
- name: Install Node.js 16.x
uses: actions/setup-node@v3
with:
node-version: 16.x
- name: Install Yarn
run: corepack enable
# Yarn dependencies cannot be cached until yarn is installed
# WORKAROUND: https://github.com/actions/setup-node/issues/531
- name: Extract cached dependencies
uses: actions/setup-node@v3
with:
node-version: 16.x
cache: 'yarn'
- name: Install dependencies
run: corepack yarn
- name: Create Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
yarn release