Skip to content
Merged
Show file tree
Hide file tree
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
4 changes: 0 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,5 @@ jobs:
with:
node-version: 18
cache: npm
- name: Install playwright browsers
run: npx playwright install --with-deps
- name: Run tests
run: npx playwright test
- run: npm ci
- run: npm test
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ const { githubAppJwt } = require("universal-github-app-jwt");
(async () => {
const { token, appId, expiration } = await githubAppJwt({
id: APP_ID,
privateKey: PRIVATE_KEY
privateKey: PRIVATE_KEY,
});
})();
```
Expand All @@ -78,8 +78,8 @@ The retrieved `token` can now be used in Authorization request header, e.g. with
```js
request("GET /app", {
headers: {
authorization: `bearer ${token}`
}
authorization: `bearer ${token}`,
},
});
```

Expand Down
216 changes: 75 additions & 141 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading