Skip to content

Commit

Permalink
Upgraded CI/CD
Browse files Browse the repository at this point in the history
  • Loading branch information
miksrv committed Sep 29, 2024
1 parent 9d13e6f commit e4080ed
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
- if: ${{ steps.cache-npm.outputs.cache-hit != 'true' }}
name: Install dependencies
run: yarn install
run: yarn workspaces focus

- name: Linter
run: yarn eslint:check
Expand Down
10 changes: 3 additions & 7 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,10 @@ jobs:
cache: 'npm'

- name: Install dependencies
run: npm ci

- name: Create changeset version
id: changeset
run: npx changeset version
run: yarn workspaces focus

- name: Build package
run: npm run build
run: yarn build

- name: Publish to npm
env:
Expand All @@ -46,7 +42,7 @@ jobs:
fi
- name: Publish package to npm
run: npm publish --access public
run: yarn publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

Expand Down

0 comments on commit e4080ed

Please sign in to comment.