-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #37 from superfaceai/feature/go-public
Feature/go public
- Loading branch information
Showing
7 changed files
with
38 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,7 +18,11 @@ jobs: | |
# Steps represent a sequence of tasks that will be executed as part of the job | ||
steps: | ||
- name: Setup Node.js environment | ||
uses: actions/[email protected] | ||
uses: actions/setup-node@v2 | ||
with: | ||
registry-url: https://registry.npmjs.org/ | ||
scope: "@superfaceai" | ||
node-version: "14" | ||
- name: Checkout | ||
uses: actions/[email protected] | ||
- name: Get yarn cache directory path | ||
|
@@ -45,7 +49,11 @@ jobs: | |
# Steps represent a sequence of tasks that will be executed as part of the job | ||
steps: | ||
- name: Setup Node.js environment | ||
uses: actions/[email protected] | ||
uses: actions/setup-node@v2 | ||
with: | ||
registry-url: https://registry.npmjs.org/ | ||
scope: "@superfaceai" | ||
node-version: "14" | ||
- name: Checkout | ||
uses: actions/[email protected] | ||
- name: Get yarn cache directory path | ||
|
@@ -72,7 +80,11 @@ jobs: | |
# Steps represent a sequence of tasks that will be executed as part of the job | ||
steps: | ||
- name: Setup Node.js environment | ||
uses: actions/[email protected] | ||
uses: actions/setup-node@v2 | ||
with: | ||
registry-url: https://registry.npmjs.org/ | ||
scope: "@superfaceai" | ||
node-version: "14" | ||
- name: Checkout | ||
uses: actions/[email protected] | ||
- name: Get yarn cache directory path | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,17 +15,21 @@ jobs: | |
- name: Checkout | ||
uses: actions/[email protected] | ||
- name: Setup Node.js environment | ||
uses: actions/setup-node@v1.4.4 | ||
uses: actions/setup-node@v2 | ||
with: | ||
registry-url: "https://npm.pkg.github.com" | ||
# registry-url: "https://npm.pkg.github.com" | ||
registry-url: https://registry.npmjs.org/ | ||
# Defaults to the user or organization that owns the workflow file | ||
scope: "@superfaceai" | ||
node-version: "14" | ||
|
||
- name: Install dependencies | ||
run: yarn install | ||
- name: Test | ||
run: yarn test | ||
- name: Build | ||
run: yarn build | ||
|
||
- name: Publish Git preparation | ||
run: | | ||
echo Publishing as version ${GITHUB_REF##*/v} | ||
|
@@ -34,6 +38,6 @@ jobs: | |
git config --global user.name "Foo Bar" | ||
git tag -d ${GITHUB_REF##*/} | ||
- name: Publish | ||
run: yarn publish --new-version ${GITHUB_REF##*/v} --verbose | ||
run: yarn publish --new-version ${GITHUB_REF##*/v} --verbose --access public | ||
env: | ||
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
NODE_AUTH_TOKEN: ${{ secrets.NPMJS_BOT_PAT }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters