Skip to content

docs: Update the x_google_ignorelist url #2043

docs: Update the x_google_ignorelist url

docs: Update the x_google_ignorelist url #2043

Workflow file for this run

name: Upload REPL artefacts
on:
pull_request_target:
types: [synchronize, opened, reopened, labeled]
permissions:
contents: read
jobs:
upload:
permissions:
pull-requests: write # for peter-evans/find-comment and peter-evans/create-or-update-comment
if: ${{ github.event.pull_request.head.repo.full_name == 'rollup/rollup' || contains( toJson(github.event.pull_request.labels), 'x⁸ ⚙️ build repl artefacts' ) }}
runs-on: ubuntu-latest
name: Upload
steps:
- name: Checkout Commit
uses: actions/checkout@v3
with:
ref: refs/pull/${{ github.event.number }}/merge
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 14
- name: Install dependencies
run: npm ci --ignore-scripts
- name: Build artefacts
run: npm run build:cjs && npm run build:bootstrap
- name: Upload "${{ github.event.number }}/rollup.browser.js" to bucket
uses: zdurham/s3-upload-github-action@master
with:
args: --cache-control max-age=300,public
env:
FILE: browser/dist/rollup.browser.js
AWS_REGION: ${{ secrets.AWS_REGION }}
S3_BUCKET: ${{ secrets.AWS_S3_BUCKET }}
S3_KEY: ${{ github.event.number }}/rollup.browser.js
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
- name: Upload "${{ github.event.number }}/rollup.browser.js.map" to bucket
uses: zdurham/s3-upload-github-action@master
with:
args: --cache-control max-age=300,public
env:
FILE: browser/dist/rollup.browser.js.map
AWS_REGION: ${{ secrets.AWS_REGION }}
S3_BUCKET: ${{ secrets.AWS_S3_BUCKET }}
S3_KEY: ${{ github.event.number }}/rollup.browser.js.map
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
- name: Find Comment
uses: peter-evans/find-comment@v2
id: findComment
with:
issue-number: ${{ github.event.number }}
comment-author: 'github-actions[bot]'
body-includes: 'Thank you for your contribution!'
- name: Create or update comment
uses: peter-evans/create-or-update-comment@v3
id: createInitialComment
with:
comment-id: ${{ steps.findComment.outputs.comment-id }}
issue-number: ${{ github.event.number }}
edit-mode: replace
body: |
### Thank you for your contribution! ❤️
You can try out this pull request locally by installing Rollup via
```bash
npm install ${{ github.event.pull_request.head.repo.full_name }}#${{ github.event.pull_request.head.ref }}
```
or load it into the REPL:
https://rollupjs.org/repl/?pr=${{ github.event.number }}
- name: Update comment for Netlify deploy
uses: jakepartusch/wait-for-netlify-action@v1
id: waitForNetlify
with:
site_name: "rollupjs"
- name: Update comment for Netlify
uses: peter-evans/create-or-update-comment@v3
if: ${{ steps.waitForNetlify.outputs.url }}
with:
comment-id: ${{ steps.createInitialComment.outputs.comment-id }}
issue-number: ${{ github.event.number }}
edit-mode: replace
body: |
### Thank you for your contribution! ❤️
You can try out this pull request locally by installing Rollup via
```bash
npm install ${{ github.event.pull_request.head.repo.full_name }}#${{ github.event.pull_request.head.ref }}
```
or load it into the REPL:
${{ steps.waitForNetlify.outputs.url }}/repl/?pr=${{ github.event.number }}