Skip to content

Commit 61f24cb

Browse files
authored
Fix publication (#42)
Co-authored-by: Frédéric Collonval <[email protected]>
1 parent 1582c34 commit 61f24cb

File tree

2 files changed

+3
-9
lines changed

2 files changed

+3
-9
lines changed

.github/workflows/publish-dev.yml

+2-9
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,6 @@ jobs:
5151
key: ${{ runner.os }}-yarn-${{ hashFiles('**/package.json') }}
5252
restore-keys: |
5353
${{ runner.os }}-yarn-
54-
55-
- name: Setup .yarnrc.yml
56-
run: |
57-
yarn config set npmScopes.datalayer.npmRegistryServer "https://npm.pkg.github.com"
58-
yarn config set npmScopes.datalayer.npmAlwaysAuth true
59-
yarn config set npmScopes.datalayer.npmAuthToken $NODE_AUTH_TOKEN
6054
-
6155
run: |
6256
yarn install
@@ -70,13 +64,12 @@ jobs:
7064
7165
git config --global user.name "github-actions[bot]"
7266
git config --global user.email "github-actions[bot]@users.noreply.github.com"
73-
git commit -a -m "Bump dev version"
67+
git add package.json
68+
git commit -m "Bump dev version"
7469
-
7570
working-directory: react
7671
run: |
7772
npm publish --access public --tag next
78-
env:
79-
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
8073
8174
-
8275
if: github.event_name == 'push'

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
"@svgr/core": "^5.5.0",
4646
"@types/react": "^18.2.12",
4747
"@types/react-dom": "^18.2.5",
48+
"@types/styled-components": "^5.1.26",
4849
"@vitejs/plugin-react": "^2.0.0",
4950
"@vue/compiler-dom": "^3.0.5",
5051
"autoprefixer": "^10.4.14",

0 commit comments

Comments
 (0)