@hearthsim/eslint-config-typescript 3.0.1 → 3.1.0

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.
@@ -2,31 +2,26 @@ name: Publish to NPM
2
2
 
3
3
  on:
4
4
  push:
5
- tags:
6
- - 'v*.*.*'
5
+ branches:
6
+ - main
7
7
 
8
8
  permissions:
9
- contents: read
9
+ contents: write
10
10
  id-token: write
11
11
 
12
12
  jobs:
13
- build:
14
- runs-on: ubuntu-latest
15
- steps:
16
- - uses: actions/checkout@v4
17
- - uses: actions/setup-node@v4
18
- with:
19
- node-version: 22
20
- - run: yarn install --frozen-lockfile
21
-
22
13
  publish-npm:
23
- needs: build
24
14
  runs-on: ubuntu-latest
25
15
  steps:
26
16
  - uses: actions/checkout@v4
17
+ with:
18
+ fetch-depth: 0
27
19
  - uses: actions/setup-node@v4
28
20
  with:
29
21
  node-version: 22
30
22
  registry-url: https://registry.npmjs.org/
31
23
  - run: npm install -g npm@latest
32
- - run: npm publish --access public
24
+ - run: yarn install --frozen-lockfile
25
+ - run: npx semantic-release
26
+ env:
27
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
@@ -0,0 +1,9 @@
1
+ {
2
+ "branches": ["main"],
3
+ "plugins": [
4
+ "@semantic-release/commit-analyzer",
5
+ "@semantic-release/release-notes-generator",
6
+ "@semantic-release/npm",
7
+ "@semantic-release/github"
8
+ ]
9
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hearthsim/eslint-config-typescript",
3
- "version": "3.0.1",
3
+ "version": "3.1.0",
4
4
  "description": "HearthSim's presets for ESLint, with Typescript support.",
5
5
  "repository": "git@github.com:HearthSim/eslint-config-typescript.git",
6
6
  "author": "Benedict Etzel <benedict@hearthsim.net>",