Skip to content

Commit

Permalink
workflow: test
Browse files Browse the repository at this point in the history
  • Loading branch information
warm-coolguy committed Feb 2, 2024
1 parent 4774e64 commit c1565b6
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/publish-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- run: echo TAGS=[$(node ./scripts/publishPackages)] >> $GITHUB_OUTPUT
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- run: echo "$TAGS"
- run: echo "$(TAGS)"
- uses: EndBug/add-and-commit@v9
with:
author_name: Dataport Geo Bot
Expand Down
2 changes: 1 addition & 1 deletion packages/lib/createTestMountParameters/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# CHANGELOG

## 1.3.0-mock-release-for-testing-pipeline.4
## 1.3.0-mock-release-for-testing-pipeline.5

## 1.2.0

Expand Down
2 changes: 2 additions & 0 deletions scripts/publishPackages.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,15 @@ for (const path of packages) {
const nextVersion = checkForNewVersion(path)
if (nextVersion) {
const context = { cwd: path, stdio: 'inherit' }

Check failure on line 34 in scripts/publishPackages.js

View workflow job for this annotation

GitHub Actions / lint-test

'context' is assigned a value but never used
/*
cp.execSync('npm version ' + nextVersion, context)
cp.execSync(
'npm set //registry.npmjs.org/:_authToken ' +
process.env.NODE_AUTH_TOKEN,
{ cwd: path }
)
cp.execSync('npm publish --access=public', context)
*/
tags.push(`${getPackageName(path)}@${nextVersion}`)
}
} catch (e) {
Expand Down

0 comments on commit c1565b6

Please sign in to comment.