forked from HlexNC/Document-Conversion-Solutions
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from UniversityOfNicosia/chore/sync-fork
Chore: Synchronize chore/sync-fork with Mainstream Updates and Enhancements
- Loading branch information
Showing
12 changed files
with
129 additions
and
4,836 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: 'Dependabot Batcher: Scheduled' | ||
on: | ||
schedule: | ||
- cron: '0 9 * * 5' | ||
|
||
jobs: | ||
dependabot-batcher: | ||
name: 'Combine Dependabot PRs' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
with: | ||
token: ${{ secrets.BATCHER_TOKEN }} | ||
|
||
- name: Setup Node.js | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: '14' | ||
|
||
- name: 'Dependabot Batcher' | ||
uses: Legal-and-General/[email protected] | ||
with: | ||
token: ${{ secrets.BATCHER_TOKEN }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,22 +2,53 @@ name: Publish Document Conversion NPM Package | |
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
branches: [ "main" ] | ||
|
||
permissions: | ||
contents: write | ||
packages: write | ||
|
||
jobs: | ||
publish-npm: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v2 | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Setup Node.js | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: '14' | ||
registry-url: 'https://npm.pkg.github.com' | ||
scope: '@universityofnicosia' | ||
- run: npm install | ||
|
||
- name: Install dependencies | ||
run: npm install | ||
working-directory: privateomega-lib/ | ||
|
||
- name: Publish package | ||
id: publish | ||
run: npm publish | ||
working-directory: privateomega-lib/ | ||
- run: npm publish | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
continue-on-error: true | ||
|
||
- name: Increment package version | ||
if: steps.publish.outcome == 'failure' | ||
run: | | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "GitHub Action" | ||
git pull origin | ||
npm version patch | ||
git add . | ||
git commit -m "chore: bump version [skip ci]" | ||
git push | ||
working-directory: privateomega-lib/ | ||
|
||
- name: Publish package again | ||
if: steps.publish.outcome == 'failure' | ||
run: npm publish | ||
working-directory: privateomega-lib/ | ||
env: | ||
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}} | ||
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,22 +2,53 @@ name: Publish Document Gen NPM Package | |
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
branches: [ "main" ] | ||
|
||
permissions: | ||
contents: write | ||
packages: write | ||
|
||
jobs: | ||
publish-npm: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v2 | ||
- name: Checkout code | ||
uses: actions/checkout@v2 | ||
|
||
- name: Setup Node.js | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: '14' | ||
registry-url: 'https://npm.pkg.github.com' | ||
scope: '@universityofnicosia' | ||
- run: npm install | ||
|
||
- name: Install dependencies | ||
run: npm install | ||
working-directory: officegen-api/ | ||
|
||
- name: Publish package | ||
id: publish | ||
run: npm publish | ||
working-directory: officegen-api/ | ||
- run: npm publish | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
continue-on-error: true | ||
|
||
- name: Increment package version | ||
if: steps.publish.outcome == 'failure' | ||
run: | | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "GitHub Action" | ||
git pull origin | ||
npm version patch | ||
git add . | ||
git commit -m "chore: bump version [skip ci]" | ||
git push | ||
working-directory: officegen-api/ | ||
|
||
- name: Publish package again | ||
if: steps.publish.outcome == 'failure' | ||
run: npm publish | ||
working-directory: officegen-api/ | ||
env: | ||
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}} | ||
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
package-lock.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.