Skip to content

Commit 57943ee

Browse files
committed
cicd: rever to use changesets to publish instead of yarn, replace repo w https format on package.json
Signed-off-by: Alexandre Ferreira <alexjorgef@protonmail.com>
1 parent 9fc7ca9 commit 57943ee

File tree

2 files changed

+16
-20
lines changed

2 files changed

+16
-20
lines changed

.github/workflows/release.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -35,19 +35,19 @@ jobs:
3535
registry-url: https://registry.npmjs.org/
3636
- name: Install Dependencies
3737
run: yarn --immutable
38-
- name: Publish Package
39-
run: yarn publish --non-interactive --access public
40-
env:
41-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
42-
# - name: Create Release Pull Request or Publish to npm
43-
# id: changesets
44-
# uses: changesets/action@v1
45-
# with:
46-
# commit: "chore(release): Publish"
47-
# title: "Changesets: Version Packages"
48-
# publish: yarn release
49-
# # Workaround for https://github.com/changesets/changesets/issues/421
50-
# version: yarn release-update-lockfile
38+
# - name: Publish Package
39+
# run: yarn publish --non-interactive --access public
5140
# env:
52-
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
53-
# NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
41+
# NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
42+
- name: Create Release Pull Request or Publish to npm
43+
id: changesets
44+
uses: changesets/action@v1
45+
with:
46+
commit: "chore(release): Publish"
47+
title: "Changesets: Version Packages"
48+
publish: yarn release
49+
# Workaround for https://github.com/changesets/changesets/issues/421
50+
version: yarn release-update-lockfile
51+
env:
52+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
53+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

plugin/package.json

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,7 @@
1212
"dist/*",
1313
"gatsby-node.js"
1414
],
15-
"repository": {
16-
"type": "git",
17-
"url": "git+https://github.com/alexjorgef/gatsby-source-mixcloud.git",
18-
"directory": "package"
19-
},
15+
"repository": "https://github.com/alexjorgef/gatsby-source-mixcloud.git",
2016
"keywords": [
2117
"mixcloud",
2218
"gatsby",

0 commit comments

Comments
 (0)