Align Bridget dependencies to 2.6.0 #1588
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
name: AR PR Deployment | |
on: | |
pull_request: | |
types: [labeled] | |
paths-ignore: | |
- 'dotcom-rendering/**' | |
jobs: | |
pr_deployment: | |
name: AR PR deployment | |
# We only want to run the app if the PR Deployment label has been added | |
if: ${{ github.event.label.id == 2500798832 }} | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up Node environment | |
uses: ./.github/actions/setup-node-env | |
- name: run | |
working-directory: apps-rendering | |
run: | | |
npm install -g ngrok | |
npm run watch & | |
timeout 1h ngrok http 3030 -log=stdout -host-header=rewrite | \ | |
grep --line-buffered -o 'https://.*' | \ | |
xargs -L1 -I{} -t \ | |
curl -X POST -H 'authorization: Bearer ${{ secrets.GITHUB_TOKEN }}' https://api.github.com/repos/${{ github.repository }}/statuses/${{ github.event.pull_request.head.sha }} -d "{\"state\":\"success\", \"target_url\":\"{}\", \"context\":\"PR deployment\", \"description\":\"This PR is now live until `date -d "+1 hour" "+%a %H:%M"`. Click details to access it ->\"}" | |
env: | |
APIS_IMG_SALT: ${{ secrets.APIS_IMG_SALT }} | |
CAPI_KEY: ${{ secrets.CAPI_KEY }} | |
TZ: '/usr/share/zoneinfo/Europe/London' |