Skip to content

Merge pull request #457 from commercelayer/fix/thank-you-page-reload #502

Merge pull request #457 from commercelayer/fix/thank-you-page-reload

Merge pull request #457 from commercelayer/fix/thank-you-page-reload #502

Workflow file for this run

name: Release
on:
push:
branches: [main, beta, alpha]
pull_request:
branches: [main, beta, alpha]
jobs:
release:
name: Release
environment: staging
runs-on: ubuntu-20.04
strategy:
matrix:
node-version: [20]
steps:
- name: Checkout
uses: actions/checkout@v2
with:
persist-credentials: false
- name: Setup pnpm
uses: pnpm/action-setup@v2.2.2
with:
version: 8
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
cache: "pnpm"
- name: Install dependencies
run: pnpm install
- name: Run package
run: pnpm build
- name: Release
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
run: npx semantic-release