Skip to content

Commit 90ddc74

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

43 files changed

Lines changed: 4728 additions & 73071 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/publish.yml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
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+
- name: Configure CI Git User
21+
run: |
22+
git config --global user.name '@cirocfc'
23+
git config --global user.email 'ciro.cfc@gmail.com'
24+
git remote set-url origin https://$GITHUB_ACTOR:$GH_TOKEN@github.com/cirocfc/yet-another
25+
env:
26+
GH_TOKEN: ${{ secrets.GH_TOKEN }}
27+
28+
- name: Install Packages
29+
run: yarn install
30+
31+
- name: Authenticate with Registry
32+
run: |
33+
echo "@cirocfc:registry=http://registry.npmjs.org/" > .npmrc
34+
echo "registry=http://registry.npmjs.org/" >> .npmrc
35+
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> .npmrc
36+
npm whoami
37+
env:
38+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
39+
40+
- name: Publish package
41+
run: yarn release
42+
env:
43+
GH_TOKEN: ${{ secrets.GH_TOKEN }}
44+
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
45+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
Lines changed: 17 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,33 @@
1-
name: CD
1+
name: Generate Tags
22

33
on:
44
push:
55
branches:
66
- master
77

88
jobs:
9-
build:
9+
tag:
1010
runs-on: ubuntu-latest
1111
steps:
12-
- name: checkout
13-
uses: actions/checkout@v1
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+
1420
- name: Configure CI Git User
1521
run: |
1622
git config --global user.name '@cirocfc'
1723
git config --global user.email 'ciro.cfc@gmail.com'
18-
git remote set-url origin https://$GITHUB_ACTOR:$GITHUB_TOKEN@github.com/cirocfc/yet-another
24+
git remote set-url origin https://$GITHUB_ACTOR:$GH_TOKEN@github.com/cirocfc/yet-another
1925
env:
20-
GITHUB_TOKEN: ${{ secrets.GH_TK }}
21-
- name: Checkout and pull branch
22-
run: git checkout "${GITHUB_REF:11}" && git pull
26+
GH_TOKEN: ${{ secrets.GH_TOKEN }}
27+
2328
- name: Install Packages
2429
run: yarn install
30+
2531
- name: Authenticate with Registry
2632
run: |
2733
echo "@cirocfc:registry=http://registry.npmjs.org/" > .npmrc
@@ -30,9 +36,10 @@ jobs:
3036
npm whoami
3137
env:
3238
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
39+
3340
- name: Publish package
3441
run: yarn release
3542
env:
36-
GH_TOKEN: ${{ secrets.GH_TK }}
37-
GITHUB_TOKEN: ${{ secrets.GH_TK }}
43+
GH_TOKEN: ${{ secrets.GH_TOKEN }}
44+
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
3845
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)