Skip to content

Commit

Permalink
alterações deploy via npm
Browse files Browse the repository at this point in the history
  • Loading branch information
lucaspompeun committed Nov 2, 2022
1 parent d894236 commit 1a1a97c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@ jobs:
registry-url: 'https://registry.npmjs.org'

- name: Testando binário
run: npm run test
run: |
npm run test
npm install
npm run build-web-npm
- name: Publicando NPM
run: npm publish
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"scripts": {
"egua": "egua",
"build-web": "browserify src/web.js --s Egua > web/dist.js",
"build-web-npm": "browserify src/web.js --s Egua > dist/dist.js",
"test": "./bin/egua tests/tests.egua",
"test-wsl": "node index.js tests/tests.egua"
},
Expand All @@ -26,7 +27,6 @@
},
"homepage": "https://github.com/eguatech/egua#readme",
"devDependencies": {
"browserify": "^17.0.0",
"egua": "^1.2.0"
"browserify": "^17.0.0"
}
}

0 comments on commit 1a1a97c

Please sign in to comment.