Skip to content

Commit bf37ca9

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

43 files changed

Lines changed: 4736 additions & 73073 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: 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 }}
Lines changed: 22 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,38 +1,48 @@
1-
name: CD
1+
name: Generate Tags
22

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

8+
permissions:
9+
contents: write
10+
811
jobs:
9-
build:
12+
tag:
1013
runs-on: ubuntu-latest
1114
steps:
12-
- name: checkout
13-
uses: actions/checkout@v1
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+
1423
- name: Configure CI Git User
1524
run: |
1625
git config --global user.name '@cirocfc'
1726
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
27+
git remote set-url origin https://$GITHUB_ACTOR:$GH_TOKEN@github.com/cirocfc/yet-another
1928
env:
20-
GITHUB_TOKEN: ${{ secrets.GH_TK }}
21-
- name: Checkout and pull branch
22-
run: git checkout "${GITHUB_REF:11}" && git pull
29+
GH_TOKEN: ${{ secrets.GH_TOKEN }}
30+
2331
- name: Install Packages
2432
run: yarn install
33+
2534
- name: Authenticate with Registry
2635
run: |
27-
echo "@cirocfc:registry=http://registry.npmjs.org/" > .npmrc
28-
echo "registry=http://registry.npmjs.org/" >> .npmrc
36+
echo "@cirocfc:registry=https://registry.npmjs.org/" > .npmrc
37+
echo "registry=https://registry.npmjs.org/" >> .npmrc
2938
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" >> .npmrc
3039
npm whoami
3140
env:
3241
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
42+
3343
- name: Publish package
3444
run: yarn release
3545
env:
36-
GH_TOKEN: ${{ secrets.GH_TK }}
37-
GITHUB_TOKEN: ${{ secrets.GH_TK }}
46+
GH_TOKEN: ${{ secrets.GH_TOKEN }}
47+
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
3848
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)