Skip to content

Commit

Permalink
chore: Update release notes generator
Browse files Browse the repository at this point in the history
  • Loading branch information
Alorel committed Oct 10, 2023
1 parent 36d71d3 commit 5821c72
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 96 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/codeql.yml
Expand Up @@ -2,9 +2,8 @@ name: "CodeQL"

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
branches: [master]
pull_request: {}
schedule:
- cron: "39 15 * * 4"

Expand All @@ -24,7 +23,7 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Initialize CodeQL
uses: github/codeql-action/init@v2
Expand Down
26 changes: 19 additions & 7 deletions .github/workflows/core.yml
@@ -1,24 +1,35 @@
name: Core
on:
- push
- pull_request
push:
branches: [master]
pull_request: {}

jobs:
test:
runs-on: ubuntu-latest
name: Test ubuntu-latest/Node 18
name: Test
permissions:
contents: write # to be able to publish a GitHub release
issues: write # to be able to comment on released issues
pull-requests: write # to be able to comment on released pull requests
id-token: write # to enable use of OIDC for npm provenance
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Test
uses: ./.github/actions/test
with:
node-version: 20
gh-token: ${{ secrets.GITHUB_TOKEN }}
- 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.0
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 }}
Expand All @@ -31,9 +42,10 @@ jobs:
- test
steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 1000
persist-credentials: false
- name: Init NPM
uses: ./.github/actions/init-npm
with:
Expand All @@ -47,6 +59,6 @@ jobs:
- name: Release
run: npm run release
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
106 changes: 22 additions & 84 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Expand Up @@ -6,6 +6,7 @@
"build": "ng build ngx-sails",
"watch": "npm --scripts-prepend-node-path=auth run build -- --watch",
"release": "semantic-release",
"release:dry": "semantic-release --dry-run",
"test": "node --no-deprecation ./node_modules/.bin/ng test ngx-sails --progress --code-coverage",
"test:watch": "npm --scripts-prepend-node-path=auth run test -- --watch"
},
Expand Down Expand Up @@ -45,7 +46,7 @@
"zone.js": "~0.13.3"
},
"devDependencies": {
"@alorel-personal/conventional-changelog-alorel": "^2.1.3",
"@alorel-personal/conventional-changelog-alorel": "^3.0.0",
"@angular-builders/custom-webpack": "^16.0.1",
"@angular-devkit/build-angular": "^16.2.5",
"@angular/cli": "^16.2.5",
Expand Down

0 comments on commit 5821c72

Please sign in to comment.