Skip to content

Commit

Permalink
chore(repo): update publish action
Browse files Browse the repository at this point in the history
  • Loading branch information
justinrusso committed Nov 1, 2022
1 parent 29a5aba commit c4451e6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,13 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- uses: actions/checkout@v3
# Setup .npmrc file to publish to GitHub Packages
- uses: actions/setup-node@v1
- uses: actions/setup-node@v3
with:
node-version: "16.x"
registry-url: "https://npm.pkg.github.com"

scope: "@darkpacks"
- run: npm install
- run: npm test
- run: npm run build
Expand Down
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "mc-pack-utils",
"name": "@darkpacks/mc-pack-utils",
"version": "1.18.0-1.0.0",
"description": "",
"main": "index.js",
Expand All @@ -8,6 +8,10 @@
"test": "jest"
},
"author": "Justin Russo <[email protected]>",
"repository": {
"url": "https://github.com/DarkPacks/MCPackUtils",
"type": "git"
},
"devDependencies": {
"@types/jest": "^29.2.0",
"@types/node": "^18.11.8",
Expand Down

0 comments on commit c4451e6

Please sign in to comment.