Skip to content

Commit

Permalink
release: test
Browse files Browse the repository at this point in the history
  • Loading branch information
warm-coolguy committed Feb 5, 2024
1 parent 5883563 commit bef05e0
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/publish-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,3 @@ jobs:
echo "Released and tagged $TAG"
done
- run: node ./scripts/createRelease ${{ env.TAGS }}
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,8 @@
"test:dev": "jest --coverage --coverageReporters=text --watchAll",
"test:coverage": "jest --coverage"
},
"dependencies": {
"@actions/github": "^5.1.1"
},
"devDependencies": {
"@actions/github": "^5.1.1",
"@babel/core": "^7.21.3",
"@babel/preset-env": "^7.20.2",
"@cyclonedx/cyclonedx-npm": "^1.7.2",
Expand Down
4 changes: 3 additions & 1 deletion scripts/createRelease.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ const tags = process.argv.slice(2)
const github = getOctokit({ auth: process.env.GITHUB_TOKEN })
const { owner, repo } = context.repo

console.info(process.env.GITHUB_TOKEN)
console.info('-----------------------------')

Check failure on line 10 in scripts/createRelease.js

View workflow job for this annotation

GitHub Actions / lint-test

Unexpected console statement

Check failure on line 10 in scripts/createRelease.js

View workflow job for this annotation

GitHub Actions / lint-test

Unexpected console statement
console.info(typeof process.env.GITHUB_TOKEN)

Check failure on line 11 in scripts/createRelease.js

View workflow job for this annotation

GitHub Actions / lint-test

Unexpected console statement

Check failure on line 11 in scripts/createRelease.js

View workflow job for this annotation

GitHub Actions / lint-test

Unexpected console statement
console.info('-----------------------------')

Check failure on line 12 in scripts/createRelease.js

View workflow job for this annotation

GitHub Actions / lint-test

Unexpected console statement

Check failure on line 12 in scripts/createRelease.js

View workflow job for this annotation

GitHub Actions / lint-test

Unexpected console statement

for (const tag of tags) {
console.warn(tag)
Expand Down

0 comments on commit bef05e0

Please sign in to comment.