Skip to content

Commit ffafed0

Browse files
committed
feat: cleanup and update
1 parent 4a913c6 commit ffafed0

45 files changed

Lines changed: 4769 additions & 73107 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/main.yml

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

.github/workflows/publish.yml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
name: Release
2+
3+
on:
4+
push:
5+
tags:
6+
- 'v*'
7+
8+
jobs:
9+
release:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v4
14+
15+
- name: Setup Node.js
16+
uses: actions/setup-node@v4
17+
with:
18+
node-version: 22
19+
20+
- uses: actions/create-github-app-token@v2
21+
id: app-token
22+
with:
23+
app-id: ${{ vars.BOT_APP_ID }}
24+
private-key: ${{ secrets.BOT_APP_PRIVATE_KEY }}
25+
26+
- name: Configure CI Git User
27+
run: |
28+
git config --global user.name ${{ vars.BOT_APP_USERNAME }}
29+
git config --global user.email ${{ vars.BOT_APP_EMAIL }}
30+
31+
- name: Install Packages
32+
run: yarn install
33+
34+
- name: Authenticate with Registry
35+
run: |
36+
echo "@cirocfc:registry=https://registry.npmjs.org/" > .npmrc
37+
echo "registry=https://registry.npmjs.org/" >> .npmrc
38+
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> .npmrc
39+
npm whoami
40+
env:
41+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
42+
43+
- name: Create tags
44+
run: yarn release
45+
env:
46+
GH_TOKEN: ${{ steps.app-token.outputs.token }}
47+
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
48+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

.github/workflows/tag.yml

Lines changed: 48 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,48 @@
1+
name: Generate Tags
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
8+
jobs:
9+
tag:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v4
14+
15+
- name: Setup Node.js
16+
uses: actions/setup-node@v4
17+
with:
18+
node-version: 22
19+
20+
- uses: actions/create-github-app-token@v2
21+
id: app-token
22+
with:
23+
app-id: ${{ vars.BOT_APP_ID }}
24+
private-key: ${{ secrets.BOT_APP_PRIVATE_KEY }}
25+
26+
- name: Configure CI Git User
27+
run: |
28+
git config --global user.name ${{ vars.BOT_APP_USERNAME }}
29+
git config --global user.email ${{ vars.BOT_APP_EMAIL }}
30+
31+
- name: Install Packages
32+
run: yarn install
33+
34+
- name: Authenticate with Registry
35+
run: |
36+
echo "@cirocfc:registry=https://registry.npmjs.org/" > .npmrc
37+
echo "registry=https://registry.npmjs.org/" >> .npmrc
38+
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> .npmrc
39+
npm whoami
40+
env:
41+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
42+
43+
- name: Create tags
44+
run: yarn tag
45+
env:
46+
GH_TOKEN: ${{ steps.app-token.outputs.token }}
47+
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }}
48+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

.prettierignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
.yarn
22
.pnp.*
3+
4+
/.nx/workspace-data

.vscode/pnpify/prettier/index.js

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

.vscode/pnpify/prettier/package.json

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

.vscode/settings.json

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

0 commit comments

Comments
 (0)