Skip to content

Compressed Image Assets (#3344) #2470

Compressed Image Assets (#3344)

Compressed Image Assets (#3344) #2470

Workflow file for this run

name: Release
on:
push:
branches:
- main
env:
NODE_VERSION: '22.x'
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
fetch-depth: 0
- name: Install PNPM
uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
with:
run_install: false
- name: Setup Node.js
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: ${{ env.NODE_VERSION }}
cache: pnpm
- name: Install Dependencies
run: pnpm install
- name: Create Release Pull Request
uses: changesets/action@e0145edc7d9d8679003495b11f87bd8ef63c0cba # v1.5.3
with:
version: pnpm version-packages
publish: pnpm release-packages
env:
# Token setup in hashibot-hds' account
GITHUB_TOKEN: ${{ secrets.PAT_TOKEN }}
# Token setup in hashibot-hds' account
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}