Skip to content

Update dependencies in package.json files #3

Update dependencies in package.json files

Update dependencies in package.json files #3

Workflow file for this run

on:
push:
branches:
- 'main'
- 'develop'
paths:
- 'services/wcm/**'
- '.github/workflows/services-wcm.yaml'
name: Services/WCM
permissions:
id-token: write # This is required for requesting the JWT
contents: read # This is required for actions/checkout
jobs:
deploy:
defaults:
run:
working-directory: ./services/wcm
runs-on: ubuntu-latest
name: Publishes this SST stack
steps:
- uses: actions/checkout@v3
- id: pnpm-install
uses: mattwyskiel/sst-node-pnpm-setup@v3
- run: pnpm i
shell: bash
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v2
with:
aws-region: us-east-1
role-to-assume: arn:aws:iam::662292074719:role/whiskey-app-role
role-session-name: sst-pnpm-workflows-sample
- run: pnpm sst deploy --stage dev
shell: bash
if: startsWith(github.ref_name, 'develop')
- run: pnpm sst deploy --stage prod
shell: bash
if: startsWith(github.ref_name, 'main')