Skip to content

Commit

Permalink
Updating github workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
chronosis committed Jun 30, 2024
1 parent d6fda8d commit 78d154b
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/auto-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ jobs:
strategy:
matrix:
node-version: [20.x]
npm-registry: ['https://registry.npmjs.org']
steps:
- uses: actions/checkout@v2

Expand All @@ -26,8 +27,7 @@ jobs:
npm version patch
npx -c 'echo "$npm_package_version"'
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
npm config set registry http://registry.npmjs.org
npm config set always-auth true
npm config set registry ${{ matrix.npm-registry }}
sudo mkdir ~/.npm || true
sudo chown -R $USER:$GROUP ~/.npm || true
sudo chown -R $USER:$GROUP ~/.config || true
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/build-develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ jobs:
matrix:
node-version: [20.x]
slack-channel: ['build-monitoring']
npm-registry: ['https://registry.npmjs.org']
steps:
- name: 'Notify build start'
uses: voxmedia/github-action-slack-notify-build@v1
Expand All @@ -38,7 +39,7 @@ jobs:
run: |
npm install -g gulp-cli gulp@5
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
npm config set registry http://registry.npmjs.org
npm config set registry ${{ matrix.npm-registry }}
sudo mkdir ~/.npm || true
sudo chown -R $USER:$GROUP ~/.npm || true
sudo chown -R $USER:$GROUP ~/.config || true
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/build-master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ jobs:
matrix:
node-version: [20.x]
slack-channel: ['build-monitoring']
npm-registry: ['https://registry.npmjs.org']
steps:
- name: 'Notify build start'
uses: voxmedia/github-action-slack-notify-build@v1
Expand All @@ -38,7 +39,7 @@ jobs:
run: |
npm install -g gulp-cli gulp@5
echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
npm config set registry http://registry.npmjs.org
npm config set registry ${{ matrix.npm-registry }}
sudo mkdir ~/.npm || true
sudo chown -R $USER:$GROUP ~/.npm || true
sudo chown -R $USER:$GROUP ~/.config || true
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "logstub",
"version": "1.7.0",
"version": "2.0.0",
"description": "A basic libray to stub logging calls when an external logger is expected.",
"main": "index.js",
"types": "index.d.ts",
Expand Down

0 comments on commit 78d154b

Please sign in to comment.