From 92ffc760757fcf06d7638e6d53cd8a2097291e98 Mon Sep 17 00:00:00 2001 From: Lukas Senionis Date: Thu, 27 Oct 2022 01:01:23 +0300 Subject: [PATCH] Extend CI for PRs --- .github/workflows/release.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index a846580..69eb9de 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -1,6 +1,7 @@ name: Release on: + pull_request: push: branches: - main @@ -20,9 +21,12 @@ jobs: node-version: 16 - name: Setup | Dependencies run: npm i -g pnpm && pnpm i --frozen-lockfile + - name: Build + run: pnpm run build - name: Test run: pnpm run test - name: Release + if: github.event_name != 'pull_request' env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }}