From 4cad9b9f193a6352426caf5cc90185d6d313c63d Mon Sep 17 00:00:00 2001 From: Jamie Henson Date: Fri, 15 Mar 2024 12:21:16 +0000 Subject: [PATCH] chore: GH actions test 3 --- .github/workflows/push.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 7e9fb00d..c34fdfcb 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -5,6 +5,7 @@ on: branches-ignore: - "gh-pages" pull_request: + types: [closed] branches: - main @@ -12,6 +13,8 @@ jobs: run-linters: name: Run linters runs-on: ubuntu-latest + env: + NPM_TOKEN: ${{ secrets.NPM_TOKEN }} steps: - name: Check out Git repository uses: actions/checkout@v4 @@ -20,8 +23,6 @@ jobs: with: node-version: 16 - name: Install dependencies - env: - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} run: yarn - name: Lint uses: wearerequired/lint-action@v2