fix(jest-preset): updated a bug with jest preset for issues in export #14
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: Package Publish | |
on: | |
push: | |
paths-ignore: | |
- ".github/**" | |
- ".husky/**" | |
- ".vscode/**" | |
- "docs/**" | |
branches: | |
- main | |
permissions: | |
contents: write | |
actions: write | |
jobs: | |
npm_publish: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Setup node 20 | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
registry-url: https://registry.npmjs.org/ | |
- name: Install dependencies | |
run: | | |
echo "Running npm install" | |
npm ci | |
- name: Setup Nx tasks | |
uses: nrwl/nx-set-shas@v4 | |
- name: Run execution tasks | |
run: npm run validate | |
- name: Get last tag for comparision | |
id: gitTag | |
uses: ./.github/actions/git-tags | |
- name: Check for Affected Projects | |
id: checkForAffected | |
uses: 2coo/action-nx-affected@v2 | |
with: | |
base: ${{ steps.gitTag.outputs.currentTag }} | |
- name: Publish Affected Projects | |
if: steps.checkForAffected.outputs.hasAffected == 'true' | |
uses: ./.github/actions/nx-publish | |
env: | |
NPM_AUTH_TOKEN: ${{secrets.npm_token}} | |
with: | |
affectedProjects: ${{ steps.checkForAffected.outputs.affected }} | |
- name: Create Tag | |
uses: ./.github/actions/tag-git | |
if: steps.checkForAffected.outputs.hasAffected == 'true' | |
with: | |
version: ${{ steps.gitTag.outputs.nextTag }} | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Create Release | |
if: steps.checkForAffected.outputs.hasAffected == 'true' | |
uses: dev-build-deploy/release-me@v0 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
version: ${{ steps.gitTag.outputs.nextTag }} | |
versioning: calver |