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 fbc8b0d
Show file tree
Hide file tree
Showing 7 changed files with 4,202 additions and 2,168 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.

21 changes: 8 additions & 13 deletions .github/workflows/workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ name: Workflow

on: [push]

env:
HUSKY: 0

concurrency: ${{ github.workflow }}-${{ github.ref }}

jobs:
Expand Down Expand Up @@ -54,26 +51,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 fbc8b0d

Please sign in to comment.