Skip to content

Merge pull request #125 from defer-run/fix-internal-execution-and-def… #120

Merge pull request #125 from defer-run/fix-internal-execution-and-def…

Merge pull request #125 from defer-run/fix-internal-execution-and-def… #120

Workflow file for this run

name: "release"
on:
push:
branches:
- "master"
jobs:
publish:
runs-on: "ubuntu-22.04"
steps:
- uses: "actions/checkout@v3"
with:
fetch-depth: 0
- uses: "actions/setup-node@v3"
with:
node-version: 18
cache: "npm"
- name: "Cancel previous runs"
uses: "styfle/[email protected]"
continue-on-error: true
with:
access_token: ${{ secrets.GITHUB_TOKEN }}
- run: "npm ci --no-audit"
- run: "npm run build"
- run: "npx bob check"
env:
DEFER_NO_LOCAL_SCHEDULER: 1
- name: "release / pull_request"
id: "changesets"
uses: "dotansimha/[email protected]"
with:
publish: "npm run release"
version: "npx changeset version"
commit: 'Update defer client version'
title: "Upcoming Release Changes"
createGithubReleases: "aggregate"
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}