fix(ns-paystack): replace gh token with npm token

This commit is contained in:
Brian Pooe 2023-06-04 12:12:58 +02:00
parent 0848c4bf06
commit 4ec9e061b4

View file

@ -1,7 +1,7 @@
name: BP DEVTOOLS CI name: BP DEVTOOLS CI
on: on:
workflow_dispatch: workflow_dispatch:
push: push:
branches: branches:
- main - main
@ -28,14 +28,14 @@ jobs:
if: ${{ github.event_name == 'pull_request' }} if: ${{ github.event_name == 'pull_request' }}
with: with:
ref: ${{ github.event.pull_request.head.sha }} ref: ${{ github.event.pull_request.head.sha }}
token: ${{ secrets.GH_TOKEN }} token: ${{ secrets.NPM_TOKEN }}
fetch-depth: 0 fetch-depth: 0
- name: Checkout [Default Branch] - name: Checkout [Default Branch]
uses: actions/checkout@v2 uses: actions/checkout@v2
if: ${{ github.event_name != 'pull_request' }} if: ${{ github.event_name != 'pull_request' }}
with: with:
token: ${{ secrets.GH_TOKEN }} token: ${{ secrets.NPM_TOKEN }}
fetch-depth: 0 fetch-depth: 0
- name: Derive appropriate SHAs for base and head for `nx affected` commands - name: Derive appropriate SHAs for base and head for `nx affected` commands