Skip to content

fix(i18n): make sure namespace params from useTranslation hooks are n… #1555

fix(i18n): make sure namespace params from useTranslation hooks are n…

fix(i18n): make sure namespace params from useTranslation hooks are n… #1555

Workflow file for this run

name: Release
on:
push:
branches:
- main
concurrency: ${{ github.workflow }}-${{ github.ref }}
jobs:
release:
name: Release
runs-on: ubuntu-latest
permissions: write-all
steps:
- name: Pull Secrets
uses: scaleway/action-scw-secret@v0
with:
secret-names: |
NPM_TOKEN, /npm/token_scaleway_lib
access-key: ${{ vars.SCW_ACCESS_KEY }}
secret-key: ${{ secrets.SCW_SECRET_KEY }}
default-project-id: ${{ vars.SCW_DEFAULT_PROJECT_ID }}
default-organization-id: ${{ vars.SCW_DEFAULT_ORGANIZATION_ID }}
- uses: actions/[email protected]
- name: Git Identity
run: |
git config --global user.name 'Scaleway Bot'
git config --global user.email '[email protected]'
git remote set-url origin https://x-access-token:${GITHUB_TOKEN}@github.com/$GITHUB_REPOSITORY
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: pnpm/[email protected]
- name: Use Node.js
uses: actions/[email protected]
with:
node-version: 22.20.0
cache: 'pnpm'
- run: pnpm install
- name: Create Release Pull Request or Publish to npm
id: changesets
uses: changesets/action@v1
with:
commit: 'chore: release'
title: 'chore: release'
publish: pnpm release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ env.NPM_TOKEN }}
NPM_CONFIG_PROVENANCE: true