Skip to content

Commit

Permalink
fix: automated release
Browse files Browse the repository at this point in the history
  • Loading branch information
raae committed Dec 23, 2022
1 parent 990a075 commit 7263e29
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ jobs:
uses: actions/checkout@v2
with:
fetch-depth: 0
# Make sure the release step uses its own credentials.
persist-credentials: false
- name: Setup Node.js
uses: actions/setup-node@v2
with:
Expand All @@ -19,6 +21,6 @@ jobs:
run: yarn test
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: yarn semantic-release
4 changes: 2 additions & 2 deletions .releaserc
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,14 @@
[
"@semantic-release/npm",
{
"pkgRoot": "plugin"
"pkgRoot": "gatsby-plugin-fathom"
}
],
[
"@semantic-release/git",
{
"assets": [
"plugin/package.json",
"gatsby-plugin-fathom/package.json",
"CHANGELOG.md"
]
}
Expand Down

0 comments on commit 7263e29

Please sign in to comment.