Skip to content

Commit

Permalink
spaghetti (pnpm config and github workflow simplification)
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasmost committed Nov 6, 2023
1 parent 0b94e0b commit c0511eb
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 18 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@ jobs:
with:
node-version: '16.x'
registry-url: 'https://registry.npmjs.org'
- run: npx pnpm install
- run: cd packages/react-code-blocks && npm publish
- uses: pnpm/action-setup@v2
with:
version: 8
- run: pnpm install
- run: cd packages/react-code-blocks && pnpm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
16 changes: 0 additions & 16 deletions packages/react-code-blocks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -85,21 +85,5 @@
"react-syntax-highlighter": "^15.5.0",
"styled-components": "^6.1.0",
"tslib": "^2.6.0"
},
"pnpm": {
"overrides": {
"highlight.js@>=9.0.0 <10.4.1": ">=10.4.1",
"prismjs@>=1.1.0 <1.21.0": ">=1.21.0",
"prismjs@<1.25.0": ">=1.25.0",
"prismjs@<1.24.0": ">=1.24.0",
"prismjs@<1.23.0": ">=1.23.0",
"highlight.js@<9.18.2": ">=9.18.2",
"prismjs@>=1.14.0 <1.27.0": ">=1.27.0",
"engine.io@>=5.1.0 <6.4.2": ">=6.4.2",
"semver@<5.7.2": ">=5.7.2",
"semver@>=6.0.0 <6.3.1": ">=6.3.1",
"semver@>=7.0.0 <7.5.2": ">=7.5.2",
"word-wrap@<1.2.4": ">=1.2.4"
}
}
}

1 comment on commit c0511eb

@vercel
Copy link

@vercel vercel bot commented on c0511eb Nov 6, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.