Skip to content

Commit 535978a

Browse files
authored
Merge pull request #6 from codota/remove-changeset
remove changesets
2 parents c35b322 + 068b70a commit 535978a

File tree

6 files changed

+28
-505
lines changed

6 files changed

+28
-505
lines changed

.changeset/brown-meals-decide.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/config.json

Lines changed: 0 additions & 11 deletions
This file was deleted.

.github/workflows/canary.yml

Lines changed: 0 additions & 38 deletions
This file was deleted.

.github/workflows/release.yml

Lines changed: 28 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
1-
name: Release packages (prod)
1+
name: Release packages
22

33
on:
44
workflow_dispatch:
5+
inputs:
6+
version:
7+
description: 'Version'
8+
default: 'patch'
59
push:
610
branches:
711
- main
@@ -10,27 +14,26 @@ jobs:
1014
build:
1115
runs-on: ubuntu-22.04
1216
steps:
13-
- uses: actions/checkout@v4
14-
- name: Install pnpm
15-
uses: pnpm/action-setup@v4
16-
with:
17-
version: 8.6.12
18-
- name: Use Node.js 20
19-
uses: actions/setup-node@v4
20-
with:
21-
node-version: 20
22-
cache: 'pnpm'
23-
registry-url: 'https://npm.pkg.github.com/'
24-
scope: '@codota'
25-
- name: Install dependencies
26-
run: pnpm install
27-
- name: Build
28-
run: pnpm build
29-
- name: Publish to NPM
30-
uses: changesets/action@v1
31-
id: changesets
32-
with:
33-
publish: pnpm changeset publish
34-
env:
35-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
36-
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
17+
- uses: actions/checkout@v4
18+
- name: Install pnpm
19+
uses: pnpm/action-setup@v4
20+
with:
21+
version: 8.6.12
22+
- name: Use Node.js 20
23+
uses: actions/setup-node@v4
24+
with:
25+
node-version: 20
26+
cache: 'pnpm'
27+
registry-url: 'https://npm.pkg.github.com/'
28+
scope: '@codota'
29+
- name: Install dependencies
30+
run: pnpm install
31+
- name: Build
32+
run: pnpm build
33+
- name: Version
34+
run: pnpm version ${{ inputs.version }} && git push && git push --tags
35+
- name: Publish
36+
run: pnpm publish
37+
env:
38+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
39+
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@
4848
},
4949
"devDependencies": {
5050
"@babel/eslint-parser": "^7.18.2",
51-
"@changesets/cli": "^2.27.9",
5251
"@typescript-eslint/eslint-plugin": "^5.26.0",
5352
"@typescript-eslint/parser": "^4.26.0",
5453
"@vitest/coverage-v8": "^2.0.1",

0 commit comments

Comments
 (0)