Skip to content

chore(deps-dev): bump typescript from 5.2.2 to 5.6.2 #3960

chore(deps-dev): bump typescript from 5.2.2 to 5.6.2

chore(deps-dev): bump typescript from 5.2.2 to 5.6.2 #3960

name: Build, Test & Publish Main
on:
push:
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: '18.13.0'
- uses: actions/cache@v4
id: cache
with:
path: |
node_modules
dist
key: ${{ github.sha }}-test
- name: npm auth
run: |
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> .npmrc
cp .npmrc ~/
npm ci
- name: npm install
if: steps.cache.outputs.cache-hit != 'true'
run: npm ci
- name: publish
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
GH_TOKEN: ${{ secrets.MY_PA_TOKEN }}
run: |
npm run release