Skip to content

deps(dev): bump semantic-release from 22.0.5 to 23.0.1 #399

deps(dev): bump semantic-release from 22.0.5 to 23.0.1

deps(dev): bump semantic-release from 22.0.5 to 23.0.1 #399

Workflow file for this run

name: Core
on:
push:
branches: [master]
pull_request: {}
jobs:
test:
runs-on: ubuntu-latest
name: Test
permissions:
contents: write
issues: write
pull-requests: write
id-token: write
steps:
- name: Checkout
uses: actions/checkout@v4
- name: NPM Init
uses: ./.github/actions/init-npm
- name: Test
run: npm test
- name: Release dry run
run: npm run release:dry
env:
GITHUB_TOKEN: ${{ github.token }}
- name: Upload coverage
if: ${{ runner.os != 'windows-latest' }}
continue-on-error: true
uses: coverallsapp/github-action@v2.2.3
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
flag-name: node-${{ inputs.node-version }}-on-${{ runner.os }}-${{ github.event_name }}
path-to-lcov: ./coverage/ngx-sails/lcov.info
release:
name: Release
runs-on: ubuntu-latest
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
needs:
- test
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 1000
persist-credentials: false
- name: Init NPM
uses: ./.github/actions/init-npm
- uses: actions/setup-node@v4
name: Reconfig Node
with:
registry-url: https://registry.npmjs.org
- name: Release
run: npm run release
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}