Skip to content

Commit

Permalink
Merge 06315cd into 7138938
Browse files Browse the repository at this point in the history
  • Loading branch information
lihourchhin authored Jul 30, 2020
2 parents 7138938 + 06315cd commit b8962e5
Showing 1 changed file with 25 additions and 27 deletions.
52 changes: 25 additions & 27 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,37 +10,35 @@ jobs:
strategy:
matrix:
node: ['10']
name: Node ${{ matrix.node }} sample
name: Node ${{ matrix.node }}

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: '10.x'
registry-url: 'https://registry.npmjs.org'
- run: npm install
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.YARN_TOKEN }}
- uses: actions/setup-node@v1
with:
registry-url: 'https://npm.pkg.github.com'
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GH }}
# steps:
# - uses: actions/checkout@v2
# - uses: actions/setup-node@v1
# with:
# node-version: '10.x'
# registry-url: 'registry.npmjs.org'
# - run: yarn install
# - run: yarn publish
# registry-url: 'https://registry.npmjs.org'
# - run: npm install
# - run: npm publish
# env:
# NODE_AUTH_TOKEN: ${{ secrets.YARN_TOKEN }}
# - uses: actions/setup-node@v1
# with:
# registry-url: 'https://npm.pkg.github.com'
# - run: yarn install
# - run: yarn publish
# env:
# NODE_AUTH_TOKEN: ${{ secrets.GH }}
# - uses: actions/setup-node@v1
# with:
# registry-url: 'https://npm.pkg.github.com'
# - run: npm publish
# env:
# NODE_AUTH_TOKEN: ${{ secrets.GH }}
- name: Create Release
id: create_release
uses: actions/create-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GH }} # This token is provided by Actions, you do not need to create your own token
with:
tag_name: ${{ github.ref }}
release_name: Release ${{ github.ref }}
body: |
Changes in this Release
- First Change
- Second Change
draft: false
prerelease: false

0 comments on commit b8962e5

Please sign in to comment.