Skip to content

Commit

Permalink
Merge pull request #767 from dpc-sdp/feature/publish
Browse files Browse the repository at this point in the history
chore: add git config in publish step
  • Loading branch information
dylankelly authored Aug 11, 2023
2 parents 9d34209 + 42815a7 commit 5f83c6b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/publish-canary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ jobs:
contents: read
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
Expand All @@ -26,12 +28,15 @@ jobs:
scope: '@dpc-sdp'
- name: Install Dependencies
env:
CYPRESS_INSTALL_BINARY: 0
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD: 1
run: pnpm install --frozen-lockfile
- name: Publish canary build to @next tag
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
git config --global user.email "sdp.devs@dpc.vic.gov.au"
git config --global user.name "SDP Deploy"
pnpm config set access public
pnpm release:publish-next --yes
Expand Down

0 comments on commit 5f83c6b

Please sign in to comment.