Skip to content

Commit caae024

Browse files
committed
refactor: reconsile key formats, update keys, support JWK
1 parent c2d7f1b commit caae024

25 files changed

+3914
-1225
lines changed

.github/workflows/test.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: CI
2+
3+
on:
4+
push:
5+
paths-ignore:
6+
- "views/website/libraries/*.json"
7+
pull_request:
8+
paths-ignore:
9+
- "views/website/libraries/*.json"
10+
11+
jobs:
12+
test:
13+
env:
14+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
15+
runs-on: macos-latest
16+
steps:
17+
- uses: actions/checkout@v2
18+
- uses: actions/setup-node@v2
19+
with:
20+
cache: 'npm'
21+
cache-dependency-path: '**/package-lock.json'
22+
node-version: '14'
23+
- run: npm install
24+
- run: npm test

.travis.yml

Lines changed: 0 additions & 11 deletions
This file was deleted.

Gruntfile.js

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ module.exports = (grunt) => {
55
grunt.loadNpmTasks("grunt-contrib-copy");
66
grunt.loadNpmTasks("grunt-contrib-stylus");
77
grunt.loadNpmTasks("grunt-contrib-pug");
8+
grunt.loadNpmTasks("grunt-contrib-pug");
89
grunt.loadNpmTasks("grunt-webpack");
910
grunt.loadNpmTasks("grunt-contrib-watch");
1011
grunt.loadNpmTasks("grunt-contrib-clean");
@@ -119,6 +120,17 @@ module.exports = (grunt) => {
119120
},
120121

121122
pug: {
123+
website: {
124+
options: {
125+
data: {
126+
languages: getLanguages(),
127+
},
128+
},
129+
files: {
130+
"dist/website/index.html": "views/website/index.pug",
131+
"dist/website/introduction/index.html": "views/website/introduction.pug",
132+
},
133+
},
122134
extension: {
123135
files: {
124136
"dist/extension/index.html": "views/extension/index.pug",
@@ -258,6 +270,7 @@ module.exports = (grunt) => {
258270

259271
grunt.registerTask("functional-tests", [
260272
"build-website-dev",
273+
"pug:website",
261274
"connect:website",
262275
"mochaTest:functional",
263276
]);

README.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22

33
<img src="https://cdn.auth0.com/blog/jwtio/jwtio.png"/>
44

5-
[![Build Status](https://travis-ci.org/jsonwebtoken/jsonwebtoken.github.io.png?branch=master)](https://travis-ci.org/jsonwebtoken/jsonwebtoken.github.io)
6-
75
### Sponsor
86

97
|||

libraries.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ const { Octokit } = require("@octokit/rest");
33
const dotenv = require("dotenv").config();
44
const getLanguages = require("./views/website/libraries/support/get-languages.js");
55
const octokit = new Octokit({
6-
auth: process.env.GITHUB,
6+
auth: process.env.GITHUB || process.env.GITHUB_TOKEN,
77
});
88

99
function fetchGithubStars() {

0 commit comments

Comments
 (0)