Normative: iterator helpers close receiver on argument validation failure #3033
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: Build Preview | |
on: [pull_request] | |
jobs: | |
build: | |
name: 'build PR preview' | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: ljharb/actions/node/install@6bc39109c48f74895ad72ec03ca0bb4e4da2fa3f | |
name: 'nvm install lts/* && npm ci --no-audit' | |
env: | |
NPM_CONFIG_AUDIT: false | |
with: | |
node-version: lts/* | |
use-npm-ci: true | |
- run: npm run build-only | |
- run: node scripts/insert_snapshot_warning | |
- run: echo ${{ github.event.number }} > out/pr.txt | |
- uses: actions/upload-artifact@v3 | |
with: | |
name: out | |
path: out/ |