Skip to content

Commit

Permalink
Fix deployment script
Browse files Browse the repository at this point in the history
  • Loading branch information
ChrisUser committed Feb 28, 2022
1 parent 0e05e99 commit 6babff0
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Semantic release
name: Semantic release

on: push
jobs:
Expand All @@ -10,10 +10,10 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: 16
- name: Install dependencies
run: npm install
- name: Build app
run: npm run build
- name: Install and Build
run: | # Install npm packages and build the src files
npm install --force
npm run build
- name: Semantic release
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
Expand Down
7 changes: 4 additions & 3 deletions .storybook/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,16 @@ module.exports = {
"@storybook/addon-a11y",
],
typescript: {
reactDocgen: 'react-docgen-typescript',
reactDocgen: "react-docgen-typescript",
reactDocgenTypescriptOptions: {
compilerOptions: {
outDir: "build",
allowJs: true,
checkJs: false,
jsx: "react",
allowSyntheticDefaultImports: false,
esModuleInterop: false,
},
}
}
},
},
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-usage-bar",
"version": "1.0.6",
"version": "1.0.7",
"description": "Usage bar, graphic component for React",
"main": "build/index.js",
"module": "build/index.es.js",
Expand Down
1 change: 0 additions & 1 deletion rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ export default {
exclude: ["**/__tests__/**", "**/*.stories.tsx"],
clean: true,
}),
//typescript(),
terser(),
commonjs({
include: ["node_modules/**"],
Expand Down

0 comments on commit 6babff0

Please sign in to comment.