Skip to content

Commit

Permalink
Use non-action package-versioner
Browse files Browse the repository at this point in the history
This may fail if this repo doesn't have permissions to use this package
  • Loading branch information
microbit-robert committed Jun 3, 2024
1 parent 4e74f4e commit 58208af
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 2 deletions.
1 change: 0 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ jobs:
registry-url: "https://npm.pkg.github.com"
cache: npm
cache-dependency-path: header-gen/package-lock.json
- uses: microbit-foundation/npm-package-versioner-action@v1
- run: npm ci
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
1 change: 1 addition & 0 deletions header-gen/.npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@microbit-foundation:registry=https://npm.pkg.github.com/microbit-foundation
30 changes: 30 additions & 0 deletions header-gen/package-lock.json

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

4 changes: 3 additions & 1 deletion header-gen/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,11 @@
"start": "ts-node --project tsconfig.cli.json src/cli.ts",
"test": "jest",
"prepare": "tsc",
"build": "tsc"
"build": "tsc",
"ci:update-version": "update-ci-version"
},
"devDependencies": {
"@microbit-foundation/npm-package-versioner": "^2.0.1",
"@types/jest": "^29.5.12",
"jest": "^29.7.0",
"ts-jest": "^29.1.4",
Expand Down

0 comments on commit 58208af

Please sign in to comment.