Skip to content

Commit 0d07c3c

Browse files
committed
[CI/CD] test build publish
1 parent dfe3af4 commit 0d07c3c

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

.github/workflows/node.js.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,13 +29,14 @@ jobs:
2929
run: yarn install --immutable
3030

3131
- name: Run tests (if test script exists)
32-
run: yarn test
32+
run: yarn workspaces foreach --all --topological --parallel --no-private run test
3333
continue-on-error: true # 테스트 스크립트가 없어도 계속 진행
3434

3535
- name: Build project (if build script exists)
36-
run: yarn build
36+
run: yarn workspaces foreach --all --topological --parallel --no-private run build
3737
continue-on-error: true # 빌드 스크립트가 없어도 계속 진행
3838

39+
3940
- name: Bump version & create tag (only on main branch)
4041
if: github.ref == 'refs/heads/main'
4142
run: |
@@ -47,6 +48,6 @@ jobs:
4748

4849
- name: Publish to npm (only on main branch)
4950
if: github.ref == 'refs/heads/main'
50-
run: yarn workspaces foreach --recursive --topological --no-private npm publish --access public
51+
run: yarn workspaces foreach --recursive --topological --no-private --from 'spreadsheet-orm' npm publish --access public
5152
env:
5253
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)