Skip to content

Commit

Permalink
Delete dist folder
Browse files Browse the repository at this point in the history
Delete dist folder
  • Loading branch information
pashak09 authored Jul 10, 2023
2 parents cf3006a + 05f68b4 commit 4aeef62
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ jobs:

- run: yarn install --immutable
- run: yarn build
- run: yarn publish

- name: Check if files exist
run: |
test -f package.json || { echo "File package.json does not exist"; exit 1; }
test -f README.md || { echo "File README.md does not exist"; exit 1; }
- run: yarn publish ./dist
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fixturio",
"version": "0.0.3",
"version": "0.0.4",
"description": "Fixtures",
"keywords": [
"Persistence",
Expand All @@ -15,6 +15,7 @@
"scripts": {
"lint": "eslint src",
"build": "rimraf ./dist && tsc -p tsconfig.build.json && tsc-alias -p tsconfig.build.json",
"postbuild": "cp package.json README.md ./dist",
"tests": "jest",
"tests:coverage": "jest --coverage"
},
Expand Down Expand Up @@ -49,7 +50,7 @@
"node": ">=16.17.0"
},
"files": [
"dist/index.d.ts",
"dist/**/*.js"
"index.d.ts",
"**/*.js"
]
}

0 comments on commit 4aeef62

Please sign in to comment.