Bump @reduxjs/toolkit from 1.9.7 to 2.3.0 #4712
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: CI | |
on: [push, pull_request] | |
jobs: | |
pre_job: | |
name: Check duplicate | |
runs-on: ubuntu-latest | |
outputs: | |
should_skip: ${{ steps.skip_check.outputs.should_skip }} | |
steps: | |
- id: skip_check | |
uses: fkirc/skip-duplicate-actions@master | |
with: | |
cancel_others: true | |
concurrent_skipping: same_content | |
do_not_skip: '["pull_request", "schedule", "workflow_dispatch"]' | |
build: | |
name: Test | |
needs: pre_job | |
if: ${{ needs.pre_job.outputs.should_skip != 'true' }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [macos-latest, ubuntu-latest, windows-latest] | |
steps: | |
- run: git config --global core.autocrlf input | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: 'yarn' | |
- run: yarn install | |
- run: yarn lint | |
- run: yarn flow | |
- run: yarn test --coverage | |
- run: yarn build | |
- run: yarn esdoc | |
- name: BundleWatch | |
env: | |
BUNDLEWATCH_GITHUB_TOKEN: ${{ secrets.BUNDLEWATCH_GITHUB_TOKEN }} | |
CI_BRANCH_BASE: main | |
if: ${{ matrix.os == 'ubuntu-latest' }} | |
run: yarn run bundlewatch | |
- name: Coveralls | |
env: | |
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }} | |
if: ${{ matrix.os == 'ubuntu-latest' && github.ref == 'refs/heads/main' }} | |
run: yarn coveralls | |
shell: bash |