Skip to content

Commit dfd57a8

Browse files
committed
ci(release): tries fixing release
1 parent 3a04a04 commit dfd57a8

3 files changed

Lines changed: 7 additions & 6 deletions

File tree

.github/workflows/release.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,13 @@ jobs:
2626
- uses: actions/setup-node@v3
2727
with:
2828
node-version: 18
29-
- name: Add GH package repository
30-
run: |
31-
echo "@blastorg:registry = https://npm.pkg.github.com" > ~/.npmrc
32-
echo "//npm.pkg.github.com/:_authToken=${{ secrets.GH_PACKAGES_WRITE_TOKEN }}" >> ~/.npmrc
3329
- run: npm ci
3430
- run: npm run build
3531
- name: semantic-release
3632
run: npx semantic-release
3733
env:
3834
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3935
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
36+
NPM_TOKEN: ${{ secrets.GH_PACKAGES_WRITE_TOKEN }}
4037
- name: Print Version
4138
run: echo "Bumped to version ${{ steps.semantic-release.outputs }}"

.npmrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
node_modules
2+
.github
3+
.husky
4+
tests

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
{
2-
"name": "srcds-log-parser",
2+
"name": "@blastorg/srcds-log-parser",
33
"version": "1.0.0",
44
"description": "Log parser for Source Dedicated Server",
55
"main": "./lib/index.js",
66
"files": [
77
"lib/**/*"
88
],
99
"publishConfig": {
10-
"@blastorg:registry": "https://npm.pkg.github.com"
10+
"registry": "https://npm.pkg.github.com"
1111
},
1212
"release": {
1313
"branches": [

0 commit comments

Comments
 (0)