Skip to content

Commit

Permalink
Update the CI publish pipeline to be inline with PR checks (#7050)
Browse files Browse the repository at this point in the history
# Pull Request

## πŸ“– Description

The publish pipeline needed updating to be inline with the PR pipeline.

## βœ… Checklist

### General

<!--- Review the list and put an x in the boxes that apply. -->

- [ ] I have included a change request file using `$ npm run change`
- [ ] I have added tests for my changes.
- [ ] I have tested my changes.
- [ ] I have updated the project documentation to reflect my changes.
- [x] I have read the [CONTRIBUTING](https://github.com/microsoft/fast/blob/master/CONTRIBUTING.md) documentation and followed the [standards](https://github.com/microsoft/fast/blob/master/CODE_OF_CONDUCT.md#our-standards) for this project.
  • Loading branch information
janechu authored Dec 11, 2024
1 parent 51a79eb commit 94fc64e
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/cd-release-npm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
strategy:
matrix:
node: [20.x]
if: contains('chrisdholt,janechu,nicholasrice,awentzel,eisenbergeffect', github.actor)
if: contains('chrisdholt,janechu', github.actor)

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -48,10 +48,20 @@ jobs:
run: npm run checkchange

- name: Testing Prettier format
run: npm run prettier:diff
run: npm run format:check

- name: Build workspaces
run: npm run build

- name: Install playwright dependencies and browsers
run: |
npx playwright install
- name: Testing unit tests
run: npm run test --stream
run: npm run test

- name: Testing final validation
run: npm run test:validation

- name: Publish NPM packages
env:
Expand Down

0 comments on commit 94fc64e

Please sign in to comment.