Skip to content

Commit

Permalink
💚 Add Compilation step in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
clementdejoie committed Mar 14, 2024
1 parent f1ef402 commit 642e63e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/publish-npm-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ jobs:
- name: Update package version
run: npm version --no-git-tag-version ${{ github.ref_name }}

- name: Compile
run: npm run tsc

- name: Publish to npm
if: startsWith(github.ref, 'refs/tags/')
run: npm publish --access public
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@zerogachis/smartway-design-token",
"version": "0.0.1",
"description": "Smartway design tokens",
"main": "src/index.ts",
"main": "lib/index.js",
"scripts": {
"type:check": "tsc",
"tsc": "tsc --project tsconfig.build.json"
Expand Down
1 change: 0 additions & 1 deletion tsconfig.build.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"extends": "./tsconfig",
"include": ["src"],
"exclude": ["**/*.test.tsx", "**/*.test.ts"]
}

0 comments on commit 642e63e

Please sign in to comment.