Skip to content

Commit c0511eb

Browse files
committed
spaghetti (pnpm config and github workflow simplification)
1 parent 0b94e0b commit c0511eb

File tree

2 files changed

+5
-18
lines changed

2 files changed

+5
-18
lines changed

.github/workflows/publish.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,10 @@ jobs:
1515
with:
1616
node-version: '16.x'
1717
registry-url: 'https://registry.npmjs.org'
18-
- run: npx pnpm install
19-
- run: cd packages/react-code-blocks && npm publish
18+
- uses: pnpm/action-setup@v2
19+
with:
20+
version: 8
21+
- run: pnpm install
22+
- run: cd packages/react-code-blocks && pnpm publish
2023
env:
2124
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

packages/react-code-blocks/package.json

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -85,21 +85,5 @@
8585
"react-syntax-highlighter": "^15.5.0",
8686
"styled-components": "^6.1.0",
8787
"tslib": "^2.6.0"
88-
},
89-
"pnpm": {
90-
"overrides": {
91-
"highlight.js@>=9.0.0 <10.4.1": ">=10.4.1",
92-
"prismjs@>=1.1.0 <1.21.0": ">=1.21.0",
93-
"prismjs@<1.25.0": ">=1.25.0",
94-
"prismjs@<1.24.0": ">=1.24.0",
95-
"prismjs@<1.23.0": ">=1.23.0",
96-
"highlight.js@<9.18.2": ">=9.18.2",
97-
"prismjs@>=1.14.0 <1.27.0": ">=1.27.0",
98-
"engine.io@>=5.1.0 <6.4.2": ">=6.4.2",
99-
"semver@<5.7.2": ">=5.7.2",
100-
"semver@>=6.0.0 <6.3.1": ">=6.3.1",
101-
"semver@>=7.0.0 <7.5.2": ">=7.5.2",
102-
"word-wrap@<1.2.4": ">=1.2.4"
103-
}
10488
}
10589
}

0 commit comments

Comments
 (0)