Skip to content

fix(deps): bump the actions-updates group across 1 directory with 4 u… #516

fix(deps): bump the actions-updates group across 1 directory with 4 u…

fix(deps): bump the actions-updates group across 1 directory with 4 u… #516

Workflow file for this run

name: Integrate
on:
- push
- pull_request
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
integrate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- name: Set up Node.js
uses: actions/setup-node@v7
with:
node-version: 22.x
- name: Cache node modules
uses: actions/cache@v6
with:
path: node_modules
key: npm-${{ runner.os }}-${{ hashFiles('package-lock.json') }}
restore-keys: |
npm-${{ runner.os }}-${{ hashFiles('package-lock.json') }}
npm-${{ runner.os }}-
- run: npm ci
- run: npm run lint
- run: npm run test
- run: npm run build
publish:
if: github.ref == 'refs/heads/main' && github.event_name == 'push'
needs: integrate
runs-on: ubuntu-latest
permissions:
contents: write
issues: write
pull-requests: write
id-token: write
steps:
- uses: actions/checkout@v7
with:
fetch-depth: 0
persist-credentials: false
- name: Set up Node.js
uses: actions/setup-node@v7
with:
node-version: 22.x
registry-url: https://registry.npmjs.org
- run: npm ci
- run: npm run build
- name: Release
run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}