Skip to content

feat(library): add step functions execution form #109

feat(library): add step functions execution form

feat(library): add step functions execution form #109

Workflow file for this run

name: Release
on:
push:
branches:
- master
- next
jobs:
release:
name: Release
runs-on: ubuntu-latest
permissions:
contents: write # to be able to publish a GitHub release
issues: write # to be able to comment on released issues
pull-requests: write # to be able to comment on released pull requests
id-token: write # to enable use of OIDC for npm provenance
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup pnpm
uses: pnpm/action-setup@v3
with:
version: 8
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: pnpm
cache-dependency-path: pnpm-lock.yaml
- name: Install dependencies
run: pnpm install
- name: Includ new version number in version.ts
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: ./scripts/generate-version-ts.sh
- name: Replace prod values
if: github.ref == 'refs/heads/master'
run: ./scripts/replace-prod-values.sh
- name: Build
run: pnpm run build
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: pnpm semantic-release
- name: Upload artifact
uses: actions/upload-artifact@v4
with:
name: build-artifact
path: dist