Skip to content

Commit

Permalink
💚 Docsを参考にフローを最適化
Browse files Browse the repository at this point in the history
  • Loading branch information
ci7lus committed Aug 11, 2020
1 parent e3cade6 commit 42acd8b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
11 changes: 4 additions & 7 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,19 +18,16 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
registry-url: "https://npm.pkg.github.com"
# scope:
- name: Install
run: |
yarn
- name: Build
run: |
yarn build
- name: npm setup
run: |
echo "//npm.pkg.github.com/:_authToken=${GITHUB_TOKEN}" >> ~/.npmrc
echo "@$(echo "$REPOSITORY_OWNER" | tr '[:upper:]' '[:lower:]' ):registry=https://npm.pkg.github.com" >> ~/.npmrc
env:
REPOSITORY_OWNER: ${{ github.repository_owner }}
GITHUB_TOKEN: ${{ github.token }}
- name: npm publish
run: |
npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@vivid-lapin/symmetrical-umbrella",
"version": "0.0.6",
"version": "0.0.7",
"main": "lib/index.js",
"types": "lib/index.d.ts",
"files": [
Expand Down

0 comments on commit 42acd8b

Please sign in to comment.