Skip to content

Commit

Permalink
build: skip eslint when building for release
Browse files Browse the repository at this point in the history
  • Loading branch information
liamcain committed Jul 2, 2022
1 parent a40dd4c commit fa1ef92
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
run: |
npm install -g yarn
yarn
yarn run build --if-present
yarn run build:ci --if-present
mkdir ${{ env.PLUGIN_NAME }}
cp main.js manifest.json styles.css ${{ env.PLUGIN_NAME }}
zip -r ${{ env.PLUGIN_NAME }}.zip ${{ env.PLUGIN_NAME }}
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"lint": "eslint . --ext .ts",
"dev": "node --experimental-json-modules esbuild.config.mjs",
"build": "yarn run lint && node --experimental-json-modules esbuild.config.mjs production",
"build:ci": "node --experimental-json-modules esbuild.config.mjs production",
"release": "standard-version"
},
"standard-version": {
Expand Down

0 comments on commit fa1ef92

Please sign in to comment.