Normative: Introduce ArrayBuffer.prototype.sliceToImmutable #6
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Render PR | |
on: [pull_request] | |
jobs: | |
render: | |
runs-on: ubuntu-latest | |
if: ${{ github.event.pull_request }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: '[node LTS] npm install' | |
uses: ljharb/actions/node/install@main | |
with: | |
node-version: lts/* | |
- run: npm run build | |
- name: Save PR number | |
run: echo ${{ github.event.number }} > build/pr-number.txt | |
- uses: actions/upload-artifact@v4 | |
id: upload | |
if: ${{ !github.event.repository.fork }} | |
with: | |
name: result | |
path: build/ | |
- name: Echo artifact ID | |
run: echo 'Artifact ID is ${{ steps.upload.outputs.artifact-id }}' | |
- name: Verify artifact discoverability | |
uses: actions/github-script@v7 | |
with: | |
script: | | |
const { owner, repo } = context.repo; | |
const run_id = ${{ github.run_id }}; | |
const listArtifactsResponse = | |
await github.rest.actions.listWorkflowRunArtifacts({ owner, repo, run_id }); | |
console.log(`artifacts for run id ${run_id}`, listArtifactsResponse?.data); |