Skip to content
Open
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
17 changes: 8 additions & 9 deletions .drone.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,25 +11,24 @@ steps:
image: node:10.15
environment:
AUTH0_DOMAIN:
from_secret: AUTH0_DOMAIN
from_secret: auth0_test_domain
AUTH0_CLIENT_ID:
from_secret: AUTH0_API_CLIENT_ID
from_secret: auth0_test_client_id
AUTH0_CLIENT_SECRET:
from_secret: AUTH0_API_CLIENT_SECRET
from_secret: auth0_test_client_secret
AUTH0_EXTENSION_URL:
from_secret: AUTH0_AUTHORIZATION_EXTENSION_URL
from_secret: auth0_test_extension_url
commands:
- npm install
- npm test

- name: build + publish
image: node:10.15
environment:
NPM_TOKEN:
from_secret: NPM_TOKEN
image: node:18.20.3
commands:
- npm run build
- echo //registry.npmjs.org/:_authToken=$NPM_TOKEN > .npmrc
- echo "@cyrus:registry=https://us-npm.pkg.dev/cyrus-containers/levitate-npm/" > .npmrc
- echo "//us-npm.pkg.dev/cyrus-containers/levitate-npm/:always-auth=true" >> .npmrc
- npm run artifactregistry-login
- npm publish --access public
when:
branch:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -81,4 +81,4 @@ Those logs will appear only when running ava in verbose mode:

```bash
env $(cat .env | xargs) node_modules/.bin/ava test/[test-name].spec.js --verbose
```
```
2 changes: 1 addition & 1 deletion package-lock.json

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

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@cyrusbio/auth0-authorization",
"version": "1.2.2",
"version": "1.3.0",
"description": "Auth0 Authorization Extension API client library",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand All @@ -24,6 +24,7 @@
"typescript": "3.2.2"
},
"scripts": {
"artifactregistry-login": "npx google-artifactregistry-auth",
"prebuild": "rm -rf lib",
"build": "tsc -p tsconfig.build.json --outDir lib",
"build:watch": "tsc -p tsconfig.build.json --outDir lib -w",
Expand Down