Skip to content

Move 'throw' to ParenthesizedExpression #15

Move 'throw' to ParenthesizedExpression

Move 'throw' to ParenthesizedExpression #15

Workflow file for this run

name: Publish PR to gh-pages/pr/
on:
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
if: ${{ github.event.number }}
steps:
- uses: actions/checkout@v4
- run: npm install --legacy-peer-deps
- run: npm run compile
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: docs
target-folder: pr/${{ github.event.number }}/
- id: get-preview-url
name: Get preview url
run: echo "preview-url=https://tc39.es/$(basename "$GITHUB_REPOSITORY")/pr/${{ github.event.number }}" >> "$GITHUB_OUTPUT"
shell: bash
- name: Post Preview Comment
uses: phulsechinmay/[email protected]
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COMMENT_IDENTIFIER: tc39_pr_preview_comment
message: |
A preview of this PR can be found at ${{ steps.get-preview-url.outputs.preview-url }}.