Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

release workflow #106

Closed
wants to merge 1 commit into from
Closed
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
23 changes: 23 additions & 0 deletions .github/workflows/package-release.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Publish package to GitHub Packages
on:
release:
types: [published]
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- uses: actions/checkout@v4
# Setup .npmrc file to publish to GitHub Packages
- uses: actions/setup-node@v4
with:
node-version: "20.x"
registry-url: "https://npm.pkg.github.com"
# Defaults to the user or organization that owns the workflow file
scope: "@QSXL"
- run: npm ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
File renamed without changes.
3 changes: 3 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
//npm.pkg.github.com/:_authToken=${NODE_AUTH_TOKEN}
@QSXL:registry=https://npm.pkg.github.com
always-auth=true
90 changes: 45 additions & 45 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,47 +1,47 @@
{
"name": "passport-linkedin-oauth2",
"version": "3.0.0",
"description": "Passport for LinkedIn OAuth2 API v2",
"main": "./lib",
"repository": {
"type": "git",
"url": "https://github.com/auth0/passport-linkedin-oauth2"
},
"scripts": {
"test": "mocha -t 5000"
},
"devDependencies": {
"ejs": "^2.6.1",
"express": "^3.x.x",
"mocha": "*",
"morgan": "^1.9.1",
"nock": "^13.3.1",
"passport": "^0.4.0",
"should": "^13.2.3"
},
"keywords": [
"passport",
"linkedin",
"auth0"
],
"author": "Auth0",
"contributors": [
"Eugenio Pace <[email protected]>",
"Joshua Schell <[email protected]>",
"Jose Romaniello <[email protected]>",
"Tom Spencer <[email protected]>",
"Sokratis Vidros <[email protected]>"
],
"license": "MIT",
"dependencies": {
"passport-oauth2": "1.x.x"
},
"directories": {
"example": "example",
"lib": "lib",
"test": "test"
},
"engines": {
"node": ">= 16"
}
"name": "passport-linkedin-oauth2",
"version": "3.0.0-pre.1",
"description": "Passport for LinkedIn OAuth2 API v2",
"main": "./lib",
"repository": {
"type": "git",
"url": "https://github.com/QSXL/passport-linkedin-oauth2.git"
},
"scripts": {
"test": "mocha -t 5000"
},
"devDependencies": {
"ejs": "^2.6.1",
"express": "^3.x.x",
"mocha": "*",
"morgan": "^1.9.1",
"nock": "^13.3.1",
"passport": "^0.4.0",
"should": "^13.2.3"
},
"keywords": [
"passport",
"linkedin",
"auth0"
],
"author": "Auth0",
"contributors": [
"Eugenio Pace <[email protected]>",
"Joshua Schell <[email protected]>",
"Jose Romaniello <[email protected]>",
"Tom Spencer <[email protected]>",
"Sokratis Vidros <[email protected]>"
],
"license": "MIT",
"dependencies": {
"passport-oauth2": "1.x.x"
},
"directories": {
"example": "example",
"lib": "lib",
"test": "test"
},
"engines": {
"node": ">= 16"
}
}
Loading