Skip to content

updated defaultFrom #516

updated defaultFrom

updated defaultFrom #516

Workflow file for this run

name: pr-workflow
on:
push:
branches:
- master
pull_request:
workflow_dispatch:
# v*.*.*
env:
NODE_VERSION: 22
# NODE_OPTIONS: --openssl-legacy-provider
jobs:
vars:
runs-on: ubuntu-latest
outputs:
node_version: ${{ env.NODE_VERSION }}
steps:
- run: echo "Exposing env vars"
sites:
needs: vars
uses: ./.github/workflows/_deploy-sites.yml
with:
node_version: ${{ needs.vars.outputs.node_version }}
secrets: inherit
tests:
needs: vars
uses: ./.github/workflows/_tests.yml
with:
node_version: ${{ needs.vars.outputs.node_version }}
secrets: inherit
docker:
needs: vars
# We do not need to check out the repository to use the reusable workflow
uses: ./.github/workflows/_push-docker.yml
with:
push: false
secrets: inherit
electron:
needs: vars
uses: ./.github/workflows/_publish-electron.yml
with:
node_version: ${{ needs.vars.outputs.node_version }}
publish: false
secrets: inherit