Skip to content

Commit

Permalink
Merge pull request #553 from GluuFederation/branch_merger
Browse files Browse the repository at this point in the history
feat: update branch merger
  • Loading branch information
kdhttps authored Mar 20, 2024
2 parents 45630fc + 6d9863b commit 710b7d8
Show file tree
Hide file tree
Showing 5 changed files with 44 additions and 46 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/branchmerger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Merge master -> version_4.5.1
- name: Merge master -> version_4.5.4
uses: devmasx/[email protected]
with:
type: now
Expand Down
49 changes: 24 additions & 25 deletions .github/workflows/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,31 +23,30 @@ jobs:

strategy:
matrix:
node-version: [14.x, 16.x]
node-version: [18.x, 20.x]

# 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
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}

# due to bug in npm we have to add this config
# bugs https://github.com/actions/setup-node/issues/214 https://github.com/npm/cli/issues/2610
- name: Reconfigure git to use HTTP authentication
run: git config --global url."https://github.com/".insteadOf ssh://[email protected]/

- name: Build,Test and Generate coverage report
run: |
npm ci
npm run build --if-present
npm test
npm run cover
- name: Upload to codecov
uses: codecov/[email protected]
with:
file: ./coverage.lcov

# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}

# due to bug in npm we have to add this config
# bugs https://github.com/actions/setup-node/issues/214 https://github.com/npm/cli/issues/2610
- name: Reconfigure git to use HTTP authentication
run: git config --global url."https://github.com/".insteadOf ssh://[email protected]/

- name: Build,Test and Generate coverage report
run: |
npm ci
npm run build --if-present
npm test
npm run cover
- name: Upload to codecov
uses: codecov/[email protected]
with:
file: ./coverage.lcov
33 changes: 16 additions & 17 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,31 +2,30 @@ name: Code Linting

on:
push:
branches: [ master ]
branches: [master]
pull_request:
branches: [ master ]
branches: [master]

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [14.x, 16.x
node-version: [18.x, 20.x]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
# due to bug in npm we have to add this config
# bugs https://github.com/actions/setup-node/issues/214 https://github.com/npm/cli/issues/2610
- name: Reconfigure git to use HTTP authentication
run: git config --global url."https://github.com/".insteadOf ssh://[email protected]/
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}

# due to bug in npm we have to add this config
# bugs https://github.com/actions/setup-node/issues/214 https://github.com/npm/cli/issues/2610
- name: Reconfigure git to use HTTP authentication
run: git config --global url."https://github.com/".insteadOf ssh://[email protected]/

- run: npm ci
- run: npm run build --if-present
- run: npm run lint
- run: npm ci
- run: npm run build --if-present
- run: npm run lint
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.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
]
},
"engines": {
"node": ">=14 <=18"
"node": ">=14 <=20"
},
"scripts": {
"start": "NODE_ENV=production node server/app.js",
Expand Down Expand Up @@ -113,4 +113,4 @@
"path": "./node_modules/cz-conventional-changelog"
}
}
}
}

0 comments on commit 710b7d8

Please sign in to comment.