chore(deps): update dependency @types/node to v20.11.26 (#6979) #3294
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 🚀 Snapshots | |
on: | |
push: | |
branches: [main, 'v[0-9]+.x', 'release/**'] | |
workflow_dispatch: | |
inputs: | |
updateMain: | |
type: boolean | |
required: false | |
description: update main snapshots | |
jobs: | |
snapshots: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: taiga-family/ci/actions/setup/[email protected] | |
- uses: taiga-family/ci/actions/setup/[email protected] | |
- uses: taiga-family/ci/actions/setup/[email protected] | |
- run: npx nx prerender demo | |
- run: tree ${{ env.DIST }} -P '*.html' | |
- name: Publish next snapshots | |
if: ${{ !contains(github.head_ref || github.ref_name, 'release/') }} | |
uses: s0/[email protected] | |
env: | |
REPO: self | |
FOLDER: ${{ env.DIST }} | |
BRANCH: snapshots/demo/next/${{ github.head_ref || github.ref_name }} | |
GITHUB_TOKEN: ${{ secrets.TAIGA_FAMILY_BOT_PAT }} | |
- name: Publish production snapshots | |
if: ${{ contains(github.head_ref || github.ref_name, 'release/') || github.event.inputs.updateMain == 'true' }} | |
uses: s0/[email protected] | |
env: | |
REPO: self | |
FOLDER: ${{ env.DIST }} | |
BRANCH: snapshots/demo/v${{ steps.nodejs-workspace.outputs.root-package-major-version }}.x | |
GITHUB_TOKEN: ${{ secrets.TAIGA_FAMILY_BOT_PAT }} | |
concurrency: | |
group: snapshots-${{ github.workflow }}-${{ github.head_ref || github.ref_name }} | |
cancel-in-progress: true |