Skip to content

Commit

Permalink
Merge pull request #84 from indec-it/refactor/upgradeActionVersion
Browse files Browse the repository at this point in the history
chore(release): upgrade setup-node action version
  • Loading branch information
maximilianoforlenza authored Jun 26, 2022
2 parents e9c33c3 + 7ccee21 commit 02f9046
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 9 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,15 +14,16 @@ jobs:
- name: Checkout 🛎️
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
node-version: 16
node-version: '16.x'
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies and build 🔧
run: |
npm set-script prepare ""
npm install
npm run build
- name: Publish package on NPM 📦
run: npm publish lib
run: npm publish lib/
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
19 changes: 13 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "@indec/react-commons",
"version": "5.0.4",
"version": "5.0.6",
"description": "Common reactjs components for apps",
"private": false,
"main": "lib/index.js",
"main": "index.js",
"scripts": {
"start": "start-storybook -p 6006",
"build": "NODE_ENV=production babel src --out-dir lib && cp package.json README.md LICENSE.md lib/",
Expand All @@ -15,10 +15,17 @@
"prepare": "husky install"
},
"files": [
"lib",
"!lib/**/*.test.js",
"!lib/**/*.stories.js",
"!lib/utils/__tests__"
"components",
"constants",
"hooks",
"theme",
"utils",
"index.js",
"LICENSE.md",
"README.md",
"!components/**/*.test.js",
"!components/**/*.stories.js",
"!utils/__tests__"
],
"dependencies": {
"@chakra-ui/react": "^2.2.1",
Expand Down

0 comments on commit 02f9046

Please sign in to comment.