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

Nodejs buildscript through github workflow #34

Open
wants to merge 8 commits into
base: master
Choose a base branch
from
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
37 changes: 37 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Passport Bnet

# Controls when the workflow will run
on:
# Triggers the workflow on push or pull request events but only for the main branch
push:
branches: [ master ]
pull_request:
branches: [ master ]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest
defaults:
run:
shell: bash
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
#- name: Checkout repo
# uses: actions/checkout@v2
- name: Checkout repository
uses: actions/checkout@master
- name: Setup node
uses: actions/setup-node@master
with:
node-version: 19.9.0
- name: Install Dependencies
run: yarn install
- name: Build passport-bnet
run: npm install passport-bnet
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Passport Bnet

[![NPM
version](https://badge.fury.io/js/passport-bnet.svg)](http://badge.fury.io/js/passport-bnet)
[![NPM version](https://badge.fury.io/js/passport-bnet.svg)](http://badge.fury.io/js/passport-bnet)

[![Passport Bnet](https://github.com/FreedomFaighter/passport-bnet/actions/workflows/build.yml/badge.svg)](https://github.com/FreedomFaighter/passport-bnet/actions/workflows/build.yml)

This is an Node.js Passport strategy for authenticating to Blizzard's Battle.net OAuth
service. In order to use it you need to register an application at the
Expand Down