Skip to content

Commit

Permalink
Update package publishing workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
andstor committed Mar 5, 2020
1 parent 0fd8721 commit 7bd5701
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: Test
uses: actions/setup-node@v1
with:
node-version: 12
node-version: '10.x'
- run: npm ci
- run: npm run build --if-present
- run: npm test
Expand All @@ -29,9 +29,9 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 12
node-version: '10.x'
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- run: npm install
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand All @@ -44,10 +44,10 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 12
node-version: '10.x'
registry-url: 'https://npm.pkg.github.com'
scope: '@andstor'
- run: npm ci
- run: npm install
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "three-voxel-loader",
"version": "1.1.2",
"version": "1.1.3",
"description": "three.js plugin for loading voxel data",
"main": "lib/voxel-loader.js",
"scripts": {
Expand Down

0 comments on commit 7bd5701

Please sign in to comment.