Skip to content

Commit

Permalink
Merge pull request #14 from TheSoftwareHouse/feature/ZN-515-npm-publish
Browse files Browse the repository at this point in the history
Feature/zn 515 npm publish
  • Loading branch information
przemyslaw-bak authored Nov 20, 2023
2 parents 95d8382 + 16b483f commit e3e58d1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/publish-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,10 @@ jobs:
runs-on: ubuntu-latest
environment: staging
steps:
- uses: actions/checkout@v2
- name: Setup Node.js 18
uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: 18
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
run: npm ci
Expand Down
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,17 @@
"author": "The Software House",
"license": "ISC",
"description": "TSH Frontend Components",
"private": true,
"private": false,
"version": "1.0.0",
"type": "module",
"publishConfig": { "access": "public" },
"files": [
"*"
],
"repository": {
"type": "git",
"url": "git://github.com/TheSoftwareHouse/tsh-frontend-components-catalog.git"
},
"scripts": {
"test": "jest --passWithNoTests",
"lint": "eslint \"./packages/**/*.{ts,tsx}\" && stylelint --allow-empty-input \"./packages/**/*.{css,pcss,scss}\" && echo \"lint success\"",
Expand Down

0 comments on commit e3e58d1

Please sign in to comment.