Skip to content

Commit

Permalink
Merge pull request #16 from SocialGouv/feat/add-npm-token-in-ci
Browse files Browse the repository at this point in the history
Feat/add npm token in ci
  • Loading branch information
iNeoO authored Sep 12, 2024
2 parents e8ab38f + ef70f8e commit 781ead7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@ jobs:
- name: Build
run: yarn build

- name: Set Registry token
run: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/.npmrc
env:
NPM_TOKEN: ${{ secrets.SOCIALGROOVYBOT_NPM_TOKEN }}

- name: Semantic Release
id: semantic
uses: cycjimmy/semantic-release-action@v4
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@socialgouv/dsfr-toaster-nuxt-module",
"version": "1.3.1",
"version": "1.3.2",
"description": "Module Nuxt Dsfr Toaster",
"license": "Apache-2.0",
"publishConfig": {
Expand Down Expand Up @@ -57,4 +57,4 @@
"lint-staged": {
"src/**/*.{js,vue,ts}": "npx eslint --cache --fix"
}
}
}

0 comments on commit 781ead7

Please sign in to comment.