8000 Just publish it by tgandrews · Pull Request #6 · tgandrews/omanyd · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Just publish it #6

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
merged 1 commit into from
Oct 7, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 1 addition & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,16 +26,7 @@ jobs:
- name: Build the code
run: npm run build

- name: Get the latest release
id: latest
uses: pozetroninc/github-action-get-latest-release@master
with:
owner: tgandrews
repo: omanyd
excludes: prerelease, draft

- name: Publish to npm
run: npm run publish -- $VERSION
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
VERSION: ${{ steps.latest.outputs.release }}
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@
"build": "rm -rf lib && tsc",
"test": "./scripts/test.sh",
"format": "prettier **/*.ts",
"release": "np --no-publish --branch=main",
"publish": "./scripts/publish.sh"
"release": "np --no-publish --branch=main"
},
"repository": "git://github.com/tgandrews/omanyd.git",
"keywords": [
Expand Down
6 changes: 0 additions & 6 deletions scripts/publish.sh

This file was deleted.

0