chore: bump version #18
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Publish @faire/babel-plugin-formatjs-localized-bundle | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
runCI: | |
uses: ./.github/workflows/pr-checks.yml | |
build-and-publish: | |
needs: runCI | |
name: Build and publish the package | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js 16 | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 16 | |
registry-url: https://registry.npmjs.org/ | |
- name: Configure Github credentials | |
run: | | |
git config --global user.name "Github" | |
git config --global user.email "[email protected]" | |
- run: | | |
yarn install --frozen-lockfile | |
yarn build | |
- name: Run semantic release (release + bump version) | |
run: | | |
yarn release | |
env: | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |