Skip to content

Commit

Permalink
update readme before publish; publish dist/ only
Browse files Browse the repository at this point in the history
  • Loading branch information
Yen Truong committed Jun 8, 2021
1 parent e11071c commit 8b1ef00
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/npm_publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,9 @@ jobs:
node-version: ${{ matrix.node-version }}
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm run build
- run: npm run build-languages
- run: npm run prepublishOnly
- run: npm publish
- run: npm run postpublish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@
"javascript",
"vanilla"
],
"files": [
"dist"
],
"dependencies": {
"@mapbox/mapbox-gl-language": "^0.10.1",
"@yext/answers-core": "^1.2.0-alpha.0",
Expand Down

0 comments on commit 8b1ef00

Please sign in to comment.