Skip to content

Commit 55b6ba7

Browse files
committed
Migrate to Commits With Character
1 parent 90d8d9d commit 55b6ba7

File tree

8 files changed

+6001
-7249
lines changed

8 files changed

+6001
-7249
lines changed

.changeset/README.md

Lines changed: 0 additions & 11 deletions
This file was deleted.

.changeset/config.json

Lines changed: 0 additions & 11 deletions
This file was deleted.

.github/workflows/workflow.yml

Lines changed: 8 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,6 @@ name: Workflow
22

33
on: [push]
44

5-
env:
6-
HUSKY: 0
7-
85
concurrency: ${{ github.workflow }}-${{ github.ref }}
96

107
jobs:
@@ -54,26 +51,24 @@ jobs:
5451
- name: Install dependencies
5552
run: npm ci
5653

57-
- name: Create release pull request or publish to npm
58-
id: changesets
59-
uses: changesets/action@v1
54+
- name: Setup config
55+
run: |
56+
git config user.name "${GITHUB_ACTOR}"
57+
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
58+
59+
- name: Release
60+
run: cd package && npm run release
6061
env:
61-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6262
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
63-
with:
64-
commit: 'Version package'
65-
publish: npm run release
63+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
6664

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

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

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

.npmrc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Release made by CI
2+
//registry.npmjs.org/:_authToken=${NPM_TOKEN}

0 commit comments

Comments
 (0)