Skip to content

Setup Node 18 in CI #224

Setup Node 18 in CI

Setup Node 18 in CI #224

name: Frontend Preview Teardown
on:
pull_request_target:
types: [closed]
paths:
- 'frontend/**'
- 'library/**'
- '.github/**'
jobs:
preview:
runs-on: ubuntu-20.04
steps:
- name: Teardown surge preview
id: deploy
run: npx surge teardown https://code-quarkus-io-pr-${{ github.event.number }}-preview.surge.sh --token ${{ secrets.SURGE_TOKEN }}
- name: Update PR status comment
uses: actions-cool/[email protected]
with:
token: ${{ secrets.GITHUB_TOKEN }}
body: |
🙈 The PR is closed and the preview is expired.
<!-- Sticky Pull Request Comment -->
body-include: '<!-- Sticky Pull Request Comment -->'
number: ${{ github.event.number }}