Skip to content

Bump @actions/core from 1.11.1 to 2.0.0 in the all-dependencies group #1012

Bump @actions/core from 1.11.1 to 2.0.0 in the all-dependencies group

Bump @actions/core from 1.11.1 to 2.0.0 in the all-dependencies group #1012

Workflow file for this run

name: 'build-test'
on: # rebuild any PRs and main branch changes
pull_request:
branches-ignore:
- 'dependabot/**'
pull_request_target:
branches:
- 'dependabot/**'
merge_group:
types: [checks_requested]
reuse-previous-outcome: true
permissions:
contents: read
pull-requests: write
jobs:
build: # make sure build/ci work properly
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v5
- run: |
npm install
- run: |
npm run all
test: # make sure the action works on a clean machine without building
runs-on: ubuntu-22.04
if: ${{ github.event_name == 'pull_request' || github.event_name == 'pull_request_target' }}
steps:
- uses: actions/checkout@v5
- uses: ./
with:
current-stats-json-path: ./__tests__/__mocks__/new-stats-with-chunks.json
base-stats-json-path: ./__tests__/__mocks__/old-stats-with-chunks.json
github-token: ${{ secrets.GITHUB_TOKEN }}
title: With chunk and module information
- uses: actions/checkout@v5
- uses: ./
with:
current-stats-json-path: ./__tests__/__mocks__/new-stats-assets.json
base-stats-json-path: ./__tests__/__mocks__/old-stats-assets.json
github-token: ${{ secrets.GITHUB_TOKEN }}
- uses: ./
with:
current-stats-json-path: ./__tests__/__mocks__/old-stats-assets.json
base-stats-json-path: ./__tests__/__mocks__/new-stats-assets.json
github-token: ${{ secrets.GITHUB_TOKEN }}
title: Flipped around
- uses: ./
with:
current-stats-json-path: ./__tests__/__mocks__/non-existent.json
base-stats-json-path: ./__tests__/__mocks__/non-existent.json
github-token: ${{ secrets.GITHUB_TOKEN }}
title: Non existent
- uses: ./
with:
current-stats-json-path: ./__tests__/__mocks__/old-stats-assets.json
base-stats-json-path: ./__tests__/__mocks__/old-stats-assets.json
github-token: ${{ secrets.GITHUB_TOKEN }}
title: No changes
- uses: ./
with:
current-stats-json-path: ./__tests__/__mocks__/new-stats-assets.json
base-stats-json-path: ./__tests__/__mocks__/old-stats-assets.json
github-token: ${{ secrets.GITHUB_TOKEN }}
title: "With describe-assets: 'none'"
describe-assets: none
- uses: ./
with:
current-stats-json-path: ./__tests__/__mocks__/old-stats-assets.json
base-stats-json-path: ./__tests__/__mocks__/old-stats-assets.json
github-token: ${{ secrets.GITHUB_TOKEN }}
title: "With describe-assets: 'changed-only'"
describe-assets: changed-only