Skip to content

Commit

Permalink
Merge pull request #24 from gluecode-it/npmjs
Browse files Browse the repository at this point in the history
fix: pushes to npmjs
  • Loading branch information
oliverlorenz committed Oct 22, 2020
2 parents acec963 + fe450f2 commit f8d8853
Show file tree
Hide file tree
Showing 7 changed files with 31 additions and 35 deletions.
2 changes: 1 addition & 1 deletion .github/auto-merge.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
- match:
dependency_name: gluecode-it\/.+
dependency_type: all
update_type: "security:minor"
update_type: "semver:minor"
- match:
dependency_type: developement
update_type: "semver:minor"
13 changes: 0 additions & 13 deletions .github/workflows/dependabot-auto-merge.yml

This file was deleted.

13 changes: 5 additions & 8 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,11 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: 12
- name: npmrc
run: >-
echo "//npm.pkg.github.com/:_authToken=${{ secrets.NPM_TOKEN }}" >>
.npmrc
- name: Install dependencies
run: npm install
env:
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
NPM_TOKEN: '${{ secrets.NPM_TOKEN }}'
- name: Run Jest
run: npm test
run: npm test
- uses: ahmadnassri/action-dependabot-auto-merge@v2
with:
target: minor
github-token: ${{ secrets.GH_PAT }}
9 changes: 1 addition & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,19 +14,12 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: 12
- name: npmrc
run: >-
echo "//npm.pkg.github.com/:_authToken=${{ secrets.NPM_TOKEN }}" >>
.npmrc
- name: Install dependencies
run: npm install
env:
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
NPM_TOKEN: '${{ secrets.NPM_TOKEN }}'
- name: Run Jest
run: npm test
- name: 'Release with semantic release'
uses: cycjimmy/semantic-release-action@v2
env:
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}'
NPM_TOKEN: '${{ secrets.NPM_TOKEN }}'
NPM_TOKEN: '${{ secrets.NPM_TOKEN_NPMJS }}'
1 change: 0 additions & 1 deletion .npmrc

This file was deleted.

17 changes: 17 additions & 0 deletions .releaserc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"plugins": [
[
"@semantic-release/commit-analyzer",
{
"preset": "angular",
"releaseRules": [{ "scope": "deps", "release": "patch" }],
"parserOpts": {
"noteKeywords": ["BREAKING CHANGE"]
}
}
],
"@semantic-release/release-notes-generator",
"@semantic-release/github",
"@semantic-release/npm"
]
}
11 changes: 7 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@
"typescript": "4.0.3"
},
"dependencies": {
"@gluecode-it/delayed-transition-handler": "3.1.0",
"@gluecode-it/discord-voice-channel-observer": "^3.0.0",
"@gluecode-it/google-cloud-vm-handler": "^1.1.6",
"@gluecode-it/delayed-transition-handler": "^3.1.1",
"@gluecode-it/discord-voice-channel-observer": "^3.1.3",
"@gluecode-it/google-cloud-vm-handler": "^1.1.7",
"@google-cloud/compute": "^2.2.0",
"discord-webhook-node": "^1.1.8",
"discord.js": "^12.3.1",
Expand All @@ -37,5 +37,8 @@
"hooks": {
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
}
}
},
"publishConfig": {
"access": "public"
}
}

0 comments on commit f8d8853

Please sign in to comment.