Skip to content

[universal] - Issue universal config change for non-root default codespace user and installing google chrome browser reuse sandboc to run puppeteer cli in universal image #1128

[universal] - Issue universal config change for non-root default codespace user and installing google chrome browser reuse sandboc to run puppeteer cli in universal image

[universal] - Issue universal config change for non-root default codespace user and installing google chrome browser reuse sandboc to run puppeteer cli in universal image #1128

name: Smoke test "universal" build
on:
workflow_dispatch:
push:
branches:
- main
pull_request:
paths:
- src/universal/**
- .github/universal/smoke-universal.yaml
- .github/actions/**
- build/**
jobs:
smoke-test:
name: Smoke test
runs-on: devcontainer-image-builder-ubuntu
steps:
- name: Checkout
id: checkout
uses: actions/checkout@v3
- name: Get userUid from host machine
id: get-useruid
run: |
set -e
USER_UID=$(id -u)
USER_GID=$(id -g)
echo "UserUid::$USER_UID"
echo "UserGid::$USER_GID"
echo "USER_UID=$USER_UID" >> $GITHUB_ENV
echo "USER_GID=$USER_GID" >> $GITHUB_ENV
- name: Smoke test
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
USER_UID: ${{ env.USER_UID }}
USER_GID: ${{ env.USER_GID }}
id: smoke_test
uses: ./.github/actions/smoke-test
with:
image: universal
threshold: 10