Skip to content

Commit c58c009

Browse files
committed
Revive pre-commit and fix npm publish token
1 parent c0e2b50 commit c58c009

File tree

3 files changed

+16
-3
lines changed

3 files changed

+16
-3
lines changed

.github/workflows/real-npm-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,4 @@ jobs:
1717
- run: npx lerna run build
1818
- run: npx lerna publish from-package
1919
env:
20-
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
20+
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

.pre-commit-config.yaml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# See https://pre-commit.com for more information
2+
# See https://pre-commit.com/hooks.html for more hooks
3+
repos:
4+
- repo: https://github.com/pre-commit/pre-commit-hooks
5+
rev: v3.2.0
6+
hooks:
7+
- id: trailing-whitespace
8+
- id: check-yaml
9+
- id: check-added-large-files
10+
# - repo: https://github.com/Materials-Data-Science-and-Informatics/somesy
11+
# rev: "v0.4.2"
12+
# hooks:
13+
# - id: somesy

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)