chore(deps): update dependency ipnetwork2 to v2.6.613 #3849
Workflow file for this run
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
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json | |
name: "[Cloud] Preview Deploy" | |
on: | |
pull_request: | |
branches: | |
- "main" | |
- "next" | |
env: | |
DOTNET_VERSION: "7.0.x" # set this to the dotnet version to use | |
defaults: | |
run: | |
working-directory: ./cloud/infrastructure | |
jobs: | |
build-and-deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- name: "Checkout GitHub Action" | |
uses: actions/checkout@v4 | |
- name: ✋ Set up mutex | |
id: mutex-setup | |
run: | | |
pushd ../../discrete/Signalco.Discrete.Api.Mutex/node-cli | |
npm install | |
npm install -g | |
npx mutex wait signalcocloudpreview | |
popd | |
- name: ✨ Setup DotNet ${{ env.DOTNET_VERSION }} Environment | |
uses: actions/setup-dotnet@v3 | |
with: | |
dotnet-version: ${{ env.DOTNET_VERSION }} | |
- name: ✨ Setup pnpm | |
uses: pnpm/[email protected] | |
with: | |
version: 'latest' | |
- name: ✨ Setup Node LTS | |
uses: actions/setup-node@v4 | |
with: | |
node-version: "18.x" | |
cache: pnpm | |
cache-dependency-path: ./cloud/infrastructure | |
- name: 📦️ Installing dependencies | |
run: pnpm i --frozen-lockfile | |
- name: 🔎 Determine stack | |
shell: bash | |
run: | | |
[[ $(echo ${BASE_BRANCH#refs/heads/}) = "main" ]] && echo "##[set-output name=branch;]production" || echo "##[set-output name=branch;]$(echo ${BASE_BRANCH#refs/heads/})" | |
id: extract_branch | |
env: | |
BASE_BRANCH: ${{ github.base_ref }} | |
- name: ⚡ Preview Deploy Infrastructure | |
uses: pulumi/actions@v4 | |
with: | |
command: preview | |
stack-name: signalco/cloud-primary/${{ steps.extract_branch.outputs.branch }} | |
work-dir: ./cloud/infrastructure | |
comment-on-pr: true | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
PULUMI_ACCESS_TOKEN: ${{ secrets.PULUMI_ACCESS_TOKEN }} | |
- name: ✋ Release mutex | |
if: always() && steps.mutex-setup.outcome == 'success' | |
run: | | |
pushd ../../discrete/Signalco.Discrete.Api.Mutex/node-cli | |
npm install | |
npm install -g | |
npx mutex release signalcocloudpreview | |
popd |