Skip to content

Commit

Permalink
Migrate to Commits With Character
Browse files Browse the repository at this point in the history
  • Loading branch information
will-stone committed Oct 20, 2024
1 parent 90d8d9d commit 1b38f31
Show file tree
Hide file tree
Showing 7 changed files with 4,202 additions and 2,165 deletions.
11 changes: 0 additions & 11 deletions .changeset/README.md

This file was deleted.

11 changes: 0 additions & 11 deletions .changeset/config.json

This file was deleted.

18 changes: 8 additions & 10 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,26 +54,24 @@ jobs:
- name: Install dependencies
run: npm ci

- name: Create release pull request or publish to npm
id: changesets
uses: changesets/action@v1
- name: Setup config
run: |
git config user.name "${GITHUB_ACTOR}"
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
- name: Release
run: npm run release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
with:
commit: 'Version package'
publish: npm run release
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Build website
if: steps.changesets.outputs.hasChangesets == 'false'
run: npm run build -w website

- name: Upload website artefacts
if: steps.changesets.outputs.hasChangesets == 'false'
uses: actions/upload-pages-artifact@v2
with:
path: './website/dist/'

- name: Deploy website
if: steps.changesets.outputs.hasChangesets == 'false'
uses: actions/deploy-pages@v2
Loading

0 comments on commit 1b38f31

Please sign in to comment.