Skip to content

Merge pull request #415 from commercelayer/feat/add-polish-translations #445

Merge pull request #415 from commercelayer/feat/add-polish-translations

Merge pull request #415 from commercelayer/feat/add-polish-translations #445

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: [18]
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