bl 6.1.6 → 7.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7,6 +7,8 @@ updates:
7
7
  commit-message:
8
8
  prefix: 'chore'
9
9
  include: 'scope'
10
+ cooldown:
11
+ default-days: 5
10
12
  - package-ecosystem: 'npm'
11
13
  directory: '/'
12
14
  schedule:
@@ -14,3 +16,5 @@ updates:
14
16
  commit-message:
15
17
  prefix: 'chore'
16
18
  include: 'scope'
19
+ cooldown:
20
+ default-days: 5
@@ -1,61 +1,58 @@
1
1
  name: Test & Maybe Release
2
2
  on: [push, pull_request]
3
+
3
4
  jobs:
4
5
  test:
5
6
  strategy:
6
7
  fail-fast: false
7
8
  matrix:
8
- node: [18.x, 20.x, lts/*, current]
9
+ node: [lts/*, current]
9
10
  os: [macos-latest, ubuntu-latest, windows-latest]
10
11
  runs-on: ${{ matrix.os }}
11
12
  steps:
12
13
  - name: Checkout Repository
13
14
  uses: actions/checkout@v6
14
15
  - name: Use Node.js ${{ matrix.node }}
15
- uses: actions/setup-node@v6.1.0
16
+ uses: actions/setup-node@v6.4.0
16
17
  with:
17
18
  node-version: ${{ matrix.node }}
18
19
  - name: Install Dependencies
20
+ run: npm install --no-progress
21
+ - name: Check build is up to date
19
22
  run: |
20
- npm install --no-progress
23
+ npm run build
24
+ git diff --exit-code || (echo "::error::Build artifacts not committed. Run 'npm run build' and commit the changes." && exit 1)
21
25
  - name: Run tests
22
26
  run: |
23
27
  npm config set script-shell bash
24
28
  npm run test:ci
29
+
25
30
  release:
26
31
  name: Release
27
32
  needs: test
28
33
  runs-on: ubuntu-latest
29
34
  if: github.event_name == 'push' && github.ref == 'refs/heads/master'
35
+ permissions:
36
+ contents: write
37
+ issues: write
38
+ pull-requests: write
39
+ id-token: write
30
40
  steps:
31
41
  - name: Checkout
32
42
  uses: actions/checkout@v6
33
43
  with:
34
44
  fetch-depth: 0
35
45
  - name: Setup Node.js
36
- uses: actions/setup-node@v6.1.0
46
+ uses: actions/setup-node@v6.4.0
37
47
  with:
38
48
  node-version: lts/*
49
+ registry-url: 'https://registry.npmjs.org'
39
50
  - name: Install dependencies
40
- run: |
41
- npm install --no-progress --no-package-lock --no-save
51
+ run: npm install --no-progress --no-package-lock --no-save
42
52
  - name: Build
43
- run: |
44
- npm run build
45
- - name: Install plugins
46
- run: |
47
- npm install \
48
- @semantic-release/commit-analyzer \
49
- conventional-changelog-conventionalcommits \
50
- @semantic-release/release-notes-generator \
51
- @semantic-release/npm \
52
- @semantic-release/github \
53
- @semantic-release/git \
54
- @semantic-release/changelog \
55
- --no-progress --no-package-lock --no-save
53
+ run: npm run build
56
54
  - name: Release
57
55
  env:
58
56
  GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
59
- NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
57
+ NPM_CONFIG_PROVENANCE: true
60
58
  run: npx semantic-release
61
-