Skip to content

Commit 781ead7

Browse files
authored
Merge pull request #16 from SocialGouv/feat/add-npm-token-in-ci
Feat/add npm token in ci
2 parents e8ab38f + ef70f8e commit 781ead7

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ jobs:
2727
- name: Build
2828
run: yarn build
2929

30+
- name: Set Registry token
31+
run: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/.npmrc
32+
env:
33+
NPM_TOKEN: ${{ secrets.SOCIALGROOVYBOT_NPM_TOKEN }}
34+
3035
- name: Semantic Release
3136
id: semantic
3237
uses: cycjimmy/semantic-release-action@v4

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@socialgouv/dsfr-toaster-nuxt-module",
3-
"version": "1.3.1",
3+
"version": "1.3.2",
44
"description": "Module Nuxt Dsfr Toaster",
55
"license": "Apache-2.0",
66
"publishConfig": {
@@ -57,4 +57,4 @@
5757
"lint-staged": {
5858
"src/**/*.{js,vue,ts}": "npx eslint --cache --fix"
5959
}
60-
}
60+
}

0 commit comments

Comments
 (0)