Skip to content

Commit

Permalink
Attempt
Browse files Browse the repository at this point in the history
  • Loading branch information
o0101 committed Jul 23, 2023
1 parent 19f0b0e commit 50cf93c
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ jobs:
with:
node-version: '18'

- name: Clear npm cache
run: npm cache clean --force

- name: Install dependencies
run: |
sudo apt-get install -y libx11-xcb1 libxcomposite1 libxdamage1 libxext6 libxfixes3 libnss3 libnspr4 libasound2 libatk1.0-0 libatk-bridge2.0-0 libcups2 libxrandr2 libpangocairo-1.0-0 libgtk-3-0
Expand All @@ -35,8 +38,17 @@ jobs:
sleep 10
- name: Get ngrok public URL
id: ngrok
run: |
curl http://localhost:4040/api/tunnels | jq -r '.tunnels[0].public_url'
url=$(curl http://localhost:4040/api/tunnels | jq -r '.tunnels[0].public_url')
echo "::set-output name=url::$url"
echo $url
- name: Print ngrok URL
run: echo "The ngrok public URL is ${{ steps.ngrok.outputs.url }}"

- name: Keep alive
run: sleep 300

- name: Upload npm debug log
if: failure()
Expand Down

0 comments on commit 50cf93c

Please sign in to comment.