Skip to content

Fix @inngest/test automatic spying not accounting for step.** (#777) #596

Fix @inngest/test automatic spying not accounting for step.** (#777)

Fix @inngest/test automatic spying not accounting for step.** (#777) #596

Workflow file for this run

name: Release
on:
push:
branches:
- main
- 'v*.x'
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: write
id-token: write
steps:
- uses: actions/checkout@v3
with:
persist-credentials: false
# Used to fetch all history so that changesets doesn't attempt to
# publish duplicate tags.
fetch-depth: 0
# Replaces `concurrency` - never cancels any jobs
- uses: softprops/turnstyle@v1
with:
poll-interval-seconds: 30
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: ./.github/actions/setup-and-build
- run: node scripts/generateReleaseConfig.js
env:
BRANCH: ${{ github.ref_name }}
- uses: changesets/action@v1
id: changesets
with:
version: pnpm run release:version
publish: pnpm run release:all
title: ${{ github.ref_name == 'main' && 'Release @latest' || format('Release {0}', github.ref_name) }}
env:
GITHUB_TOKEN: ${{ secrets.CHANGESET_GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_ENV: test # disable npm access checks; they don't work in CI
BRANCH: ${{ github.ref_name }}