Skip to content

Commit

Permalink
Consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
bsian03 committed Mar 15, 2020
1 parent 5557d68 commit 5c72c97
Showing 1 changed file with 39 additions and 39 deletions.
78 changes: 39 additions & 39 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,12 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 12
- name: Dep install and test
- run: |
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 12
- name: Dep install and test
run: |
yarn install
yarn test:publish
env:
Expand All @@ -23,41 +23,41 @@ jobs:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 12
registry-url: https://registry.npmjs.org/
- name: Dep install
run: yarn install
env:
CI: true
- name: Publish
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.npm_token }}
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 12
registry-url: https://registry.npmjs.org/
- name: Dep install
run: yarn install
env:
CI: true
- name: Publish
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.npm_token }}

publish-gpr:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 12
registry-url: https://npm.pkg.github.com/
scope: '@khaazz'
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
- name: Dep install
run: yarn install
env:
CI: true
- name: Autoscope package
uses: khaazz/action-autoscope@master
- name: Configure .npmrc
run: echo registry=https://npm.pkg.github.com/Khaazz >> .npmrc
- name: Publish
run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: 12
registry-url: https://npm.pkg.github.com/
scope: '@khaazz'
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
- name: Dep install
run: yarn install
env:
CI: true
- name: Autoscope package
uses: khaazz/action-autoscope@master
- name: Configure .npmrc
run: echo registry=https://npm.pkg.github.com/Khaazz >> .npmrc
- name: Publish
run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 comments on commit 5c72c97

Please sign in to comment.