Skip to content

Commit

Permalink
fix(ts): revert dist copy [CLK-252116] (#270)
Browse files Browse the repository at this point in the history
This reverts commit 52062e3.
  • Loading branch information
ahammond authored May 14, 2024
1 parent 52062e3 commit ceaca61
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 34 deletions.
5 changes: 1 addition & 4 deletions src/clickup-ts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,16 +49,13 @@ export module clickupTs {
workflowBootstrapSteps: [
{
name: 'GitHub Packages authorization',
// This does some env var overloading where the release step also defines NPM_TOKEN with the action token that allows uploading
// This does some env var obverloading where the release step also defines NPM_TOKEN with the action token that allows uploading
env: { NPM_TOKEN: '${{ secrets.ALL_PACKAGE_READ_TOKEN }}' },
run: [
'cat > .npmrc <<EOF',
'//npm.pkg.github.com/:_authToken=${NPM_TOKEN}',
'@time-loop:registry=https://npm.pkg.github.com/',
'EOF',
'if [ -d "dist" ]; then', // package-js workflow needs a .npmrc in the dist directory
'cp .npmrc dist',
'fi',
].join('\n'),
},
{
Expand Down
27 changes: 0 additions & 27 deletions test/__snapshots__/clickup-cdk.test.ts.snap

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

3 changes: 0 additions & 3 deletions test/__snapshots__/clickup-ts.test.ts.snap

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

0 comments on commit ceaca61

Please sign in to comment.