Skip to content

Release 65.2.5

Release 65.2.5 #124

Workflow file for this run

name: Release
on:
release:
types: [published]
jobs:
add-templates-to-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Read .nvmrc file
id: read-nvmrc-file
run: echo "nvmrc=$(cat .nvmrc)" >> $GITHUB_OUTPUT
- name: Install Node
uses: actions/setup-node@v3
with:
node-version: "${{ steps.read-nvmrc-file.outputs.nvmrc }}"
- name: Install dependencies
run: yarn install
- name: Build templates
run: |
cd src
RELEASE_VERSION=${{ github.event.release.tag_name }} yarn cdn-bundle
- name: Zip templates
run: zip -r templates.zip templates/*
- name: Release
uses: softprops/action-gh-release@v1
with:
files: templates.zip
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}