Skip to content

fix: build functions on release #28

fix: build functions on release

fix: build functions on release #28

Workflow file for this run

name: Release
on:
push:
branches:
- main
permissions:
contents: write
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install build dependencies
run: npm ci
- name: Install functions dependencies
working-directory: functions
run: npm ci
- name: Build functions
working-directory: functions
run: npm run build:package
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.SEMANTIC_RELEASE_GITHUB_TOKEN }}
run: npx semantic-release