Skip to content

πŸ”§ contracts: fix remappings and make them all explicit #817

πŸ”§ contracts: fix remappings and make them all explicit

πŸ”§ contracts: fix remappings and make them all explicit #817

Workflow file for this run

name: version
on:
push:
branches: [main]
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
version:
environment: version
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with: { token: "${{ secrets.RELEASE_GITHUB_TOKEN }}" }
- uses: actions/setup-node@v6
with: { node-version: 24, check-latest: true, package-manager-cache: false }
- uses: foundry-rs/foundry-toolchain@v1
with: { version: v1.5.1, cache: false }
- run: corepack enable
- run: pnpm install --frozen-lockfile
- id: title
run: |
pnpm changeset status --output=status.json 2>/dev/null || echo '{"releases":[]}' > status.json
node -e 'console.log("title=πŸ”– release: " + require("./status.json").releases
.filter(({ type }) => type !== "none")
.map(({ name, newVersion }) => name.replace("@exactly/", "") + "@" + newVersion)
.reverse()
.join(", "))' >> $GITHUB_OUTPUT
rm status.json
- uses: crazy-max/ghaction-import-gpg@v7 # cspell:ignore ghaction
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
git_user_signingkey: true # cspell:ignore signingkey
git_commit_gpgsign: true # cspell:ignore gpgsign
- uses: changesets/action@v1
with:
title: ${{ steps.title.outputs.title }}
publish: pnpm changeset publish
version: ./.changeset/version.sh
prDraft: create
setupGitUser: false
env:
GITHUB_TOKEN: ${{ secrets.RELEASE_GITHUB_TOKEN }}