Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/comment-on-forks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
GITHUB_CONTEXT: ${{ toJson(github) }}
run: echo "$GITHUB_CONTEXT"
- name: covector status
uses: jbolda/covector/packages/action@covector-v0
uses: fltsci/covector/packages/action@main
# note that this check could be shifted to the job, but for future reference, we are dumping the full github context
if: github.event.workflow_run.conclusion == 'success' &&
(github.event.workflow_run.head_repository.full_name != github.repository || github.actor == 'dependabot[bot]')
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/run-on-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,14 @@ on: pull_request
jobs:
status:
runs-on: ubuntu-latest
permissions:
pull-requests: write

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
fetch-depth: 0
- uses: volta-cli/action@v4
- uses: volta-cli/action@v5
- run: npm ci --ignore-scripts
- run: npm run build
- run: npm run pkg -w action
Expand All @@ -35,10 +37,10 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
fetch-depth: 0
- uses: volta-cli/action@v4
- uses: volta-cli/action@v5
- run: npm ci --ignore-scripts
- run: npm run build
- run: npm run -ws --if-present prepublishOnly
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/run-version-or-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
fetch-depth: 0
- uses: volta-cli/action@v4
- uses: actions/setup-node@v3
- uses: volta-cli/action@v5
- uses: actions/setup-node@v6
with:
registry-url: "https://registry.npmjs.org"
- name: git config
Expand Down Expand Up @@ -57,11 +57,12 @@ jobs:
dryRun: true
- name: create pull request
id: cpr
uses: peter-evans/create-pull-request@v6
uses: peter-evans/create-pull-request@v8
if: steps.covector.outputs.commandRan == 'version'
with:
title: "Publish New Versions"
commit-message: "publish new versions"
labels: "version updates, preview"
branch: "release"
body: ${{ steps.covector.outputs.change }}
delete-branch: true
4 changes: 2 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ jobs:
runs-on: ${{ matrix.os }}

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
# some of the tests use the covector git history to run
fetch-depth: 0
- uses: volta-cli/action@v4
- uses: volta-cli/action@v5
- run: npm ci
- run: npm run build # covector CLI tests run built files
- run: npm test
12 changes: 6 additions & 6 deletions packages/action/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,27 +15,27 @@ inputs:
dryRun:
description: Run in dry-run mode which skips executing steps, and instead logs. Useful for testing a publish beforehand.
required: false
defaults: false
default: "false"
createRelease:
description: Opt-in to create a release on publish
required: false
default: false
default: "false"
draftRelease:
description: When creating a release, set it as a draft.
required: false
default: false
default: "false"
filterPackages:
description: A comma separated list (no spaces) of packages to run commands on rather than everything listed in the config.
required: false
default: ""
comment:
description: Include a comment on the pull request including context around the comment run
required: false
defaults: false
default: "false"
recognizeContributors:
description: Include contributor and reviewer names within changelog
required: false
defaults: false
default: "false"
label:
description: "the Github pull request label that triggers preview packages"
required: false
Expand Down Expand Up @@ -70,7 +70,7 @@ outputs:
releaseId:
description: The ID of the created release. Only present when `createRelease` is set to true.
runs:
using: "node20"
using: "node24"
main: "dist/index.js"
branding:
icon: "sliders"
Expand Down
6 changes: 3 additions & 3 deletions packages/covector/src/init.ts
Original file line number Diff line number Diff line change
Expand Up @@ -391,7 +391,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
fetch-depth: 0 # required for use of git history
- name: covector status
Expand Down Expand Up @@ -436,12 +436,12 @@ jobs:
successfulPublish: \${{ steps.covector.outputs.successfulPublish }}

steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
fetch-depth: 0 # required for use of git history${
pkgManagers.javascript
? `
- uses: actions/setup-node@v3
- uses: actions/setup-node@v6
with:
registry-url: 'https://registry.npmjs.org'`
: ""
Expand Down
Loading