Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Automatically publish to npm #84

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
kateinoigakukun merged 2 commits into main from npm-publish
Sep 27, 2020
Merged

Automatically publish to npm #84

kateinoigakukun merged 2 commits into main from npm-publish
Sep 27, 2020

Conversation

@j-f1
Copy link
Member

@j-f1 j-f1 commented Sep 26, 2020

I copied the code from GitHub’s example.

This should activate whenever a new release is tagged.

@kateinoigakukun needs to upload an npm token to the secrets section of the repo for this to work.

Let’s give this a try for v0.7.1.

This should activate whenever a new release is tagged.
Copy link

github-actions bot commented Sep 26, 2020
edited
Loading

Time Change: +532.75ms (3%)

Total Time: 15,681.25ms

Test name Duration Change
Serialization/Swift Int to JavaScript 5,872ms +346.5ms (5%) 🔍
i️ View Unchanged
Test name Duration Change
Serialization/Write JavaScript number directly 184ms 0ms
Serialization/Write JavaScript string directly 189.25ms +0.25ms
Serialization/Swift String to JavaScript 5,939.5ms +224.25ms (3%)
Object heap/Increment and decrement RC 3,496.5ms -38.25ms (1%)

performance-action

with:
node-version: 12
registry-url: https://registry.npmjs.org/
- run: npm ci
Copy link
Member

@MaxDesiatov MaxDesiatov Sep 26, 2020

Choose a reason for hiding this comment

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

Same here, wouldn't it require a ci script to be defined?

Copy link
Member Author

Choose a reason for hiding this comment

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

npm ci is like npm install but it never modifies package.json.

MaxDesiatov reacted with thumbs up emoji
Copy link
Member

Could you test this script on another test repo?

Copy link
Member

MaxDesiatov commented Sep 27, 2020
edited
Loading

I've verified it works in my gatsby-remark-codemirror package. Good to go, you just need to add the npm_token secret, and make sure your npm OTP is authorization-only if you have it enabled.

Copy link
Member

@MaxDesiatov @j-f1 Could you tell me your npm account name? I'll invite you as owner.

Copy link
Member

I'm maxd on npm 🙂

Copy link
Member

@MaxDesiatov MaxDesiatov left a comment

Choose a reason for hiding this comment

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

👍

Copy link
Member Author

j-f1 commented Sep 27, 2020

I’m j-f on npm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@MaxDesiatov MaxDesiatov MaxDesiatov approved these changes

@kateinoigakukun kateinoigakukun kateinoigakukun approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /