Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 5 additions & 7 deletions .github/workflows/pr-check.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
name: Build PR

on:
pull_request_target:
pull_request:
types: [assigned, opened, synchronize, reopened]

jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read

strategy:
matrix:
node-version: [16.x]

steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.event.pull_request.head_sha }}
- uses: actions/checkout@v4

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
Expand All @@ -33,9 +33,7 @@ jobs:
- name: Install and build
run: |
#!/bin/bash

set -e
set -o pipefail

npm install
npm run build
npm run build
Loading