Configure baseUrl in octokit initialisation (#91)

Make the action work for GHES by passing `GITHUB_API_URL` environment variable to octokit initialisation.
This commit is contained in:
Anupam
2023-03-02 19:56:14 +05:30
committed by GitHub
parent ba4d22f251
commit b9ed39f728
8 changed files with 161 additions and 6 deletions
+6
View File
@@ -18,6 +18,9 @@ jobs:
steps:
- uses: actions/checkout@v2
name: Checkout Delete Package Versions Repo
- uses: actions/setup-node@v3
with:
node-version: 16
- run: npm install
name: NPM Install
- run: npm run pack
@@ -29,6 +32,9 @@ jobs:
steps:
- uses: actions/checkout@v2
name: Checkout Delete Package Versions Repo
- uses: actions/setup-node@v3
with:
node-version: 16
- uses: ./
name: Smoke Test Delete Package Versions Action
with: