Skip to content

Commit ca2fc7b

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

45 files changed

Lines changed: 4768 additions & 73106 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+
permissions:
9+
contents: write
10+
11+
jobs:
12+
release:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v4
17+
18+
- name: Setup Node.js
19+
uses: actions/setup-node@v4
20+
with:
21+
node-version: 22
22+
23+
- name: Configure CI Git User
24+
run: |
25+
git config --global user.name '@cirocfc'
26+
git config --global user.email 'ciro.cfc@gmail.com'
27+
git remote set-url origin https://$GITHUB_ACTOR:$GH_TOKEN@github.com/cirocfc/yet-another
28+
env:
29+
GH_TOKEN: ${{ secrets.GH_TOKEN }}
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: Publish package
44+
run: yarn release
45+
env:
46+
GH_TOKEN: ${{ secrets.GH_TOKEN }}
47+
GITHUB_TOKEN: ${{ secrets.GH_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+
permissions:
9+
contents: write
10+
11+
jobs:
12+
tag:
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v4
17+
18+
- name: Setup Node.js
19+
uses: actions/setup-node@v4
20+
with:
21+
node-version: 22
22+
23+
- name: Configure CI Git User
24+
run: |
25+
git config --global user.name '@cirocfc'
26+
git config --global user.email 'ciro.cfc@gmail.com'
27+
git remote set-url origin https://$GITHUB_ACTOR:$GH_TOKEN@github.com/cirocfc/yet-another
28+
env:
29+
GH_TOKEN: ${{ secrets.GH_TOKEN }}
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: ${{ secrets.GH_TOKEN }}
47+
GITHUB_TOKEN: ${{ secrets.GH_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)