Skip to content

chore(deps-dev): bump webpack from 5.97.0 to 5.97.1 #4563

chore(deps-dev): bump webpack from 5.97.0 to 5.97.1

chore(deps-dev): bump webpack from 5.97.0 to 5.97.1 #4563

name: Build, Test & Publish Main
on:
push:
branches:
- main
concurrency: ci-${{ github.ref}}-${{ github.event_name }}
jobs:
build-and-test:
if: github.ref_name == github.event.repository.default_branch && !contains( github.event.head_commit.message, 'skip ci' )
uses: ./.github/workflows/build-test-common.yml
with:
actor: ${{ github.actor }}
ref: ${{ github.ref }}
is_main_branch: true
commit: ${{ github.sha }}
publish:
runs-on: ubuntu-latest
needs: build-and-test
if: github.ref_name == github.event.repository.default_branch && !contains( github.event.head_commit.message, 'skip ci' )
timeout-minutes: 20
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GH_TOKEN: ${{ secrets.GH_PA_TOKEN }}
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.ref }}
fetch-depth: 0
persist-credentials: false
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
- uses: actions/cache@v4
with:
path: |
node_modules
packages/*/node_modules
packages/*/dist
key: ${{ github.sha }}-publish
restore-keys: |
${{ github.sha }}-test
${{ github.sha }}-publish
- name: npm auth
run: |
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> .npmrc
cp .npmrc ~/
npm ci
- name: publish
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GH_TOKEN: ${{ secrets.MY_PA_TOKEN }}
run: |
npm run release