Skip to content

Commit 04ba476

Browse files
committed
[CI/CD] yarn
1 parent 6584c2e commit 04ba476

8 files changed

Lines changed: 17 additions & 14 deletions

File tree

.github/workflows/node.js.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
uses: actions/setup-node@v4
2424
with:
2525
node-version: 22
26-
registry-url: "https://registry.npmjs.org/"
26+
registry-url: 'https://registry.npmjs.org'
2727

2828
- name: Install dependencies (Yarn Berry)
2929
run: yarn install --immutable
@@ -42,11 +42,11 @@ jobs:
4242
yarn workspaces foreach --all version patch
4343
git push --follow-tags
4444
45-
- name: Set up .npmrc
46-
run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPM_TOKEN }}" > ~/.npmrc
47-
4845
- name: Debug .npmrc
49-
run: cat ~/.npmrc
46+
run: cat .npmrc
47+
48+
- name: Debug .yarnrc.yml
49+
run: cat .yarnrc.yml
5050

5151
- name: Check NPM Authentication
5252
run: npm whoami
@@ -55,7 +55,7 @@ jobs:
5555
# if: github.ref == 'refs/heads/main'
5656
# run: yarn workspaces foreach --verbose --all --topological --no-private npm publish --access public
5757
# env:
58-
# NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
58+
# NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
5959

6060
- name: Publish to npm (only on main branch)
6161
if: github.ref == 'refs/heads/main'

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,5 @@ build/
2727
!.vscode/extensions.json
2828

2929
.turbo
30-
.npmrc
30+
.npmrc
31+
.npmrc

.npmrc

Lines changed: 0 additions & 1 deletion
This file was deleted.

.yarnrc.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
1-
nodeLinker: pnp
1+
nodeLinker: pnp
2+
npmRegistryServer: "https://registry.npmjs.org"
3+
npmAlwaysAuth: true
4+
npmAuthToken: "${NPM_TOKEN}"

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"workspaces": [
44
"packages/*"
55
],
6-
"version": "0.1.12",
6+
"version": "0.1.13",
77
"packageManager": "yarn@4.5.3",
88
"scripts": {
99
"build": "yarn workspaces foreach --all npm run build",

packages/docs/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "@packages/docs",
3-
"version": "0.1.12",
2+
"name": "@spreadsheet-orm/docs",
3+
"version": "0.1.13",
44
"private": true,
55
"dependencies": {
66
"spreadsheet-orm": "workspace:*"

packages/main/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "spreadsheet-orm",
3-
"version": "0.1.12",
3+
"version": "0.1.13",
44
"description": "ORM for Google Spreadsheet - Query Builder and Schema Management for spreadsheet database",
55
"keywords": [
66
"google-spreadsheet",

packages/test/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@spreadsheet-orm/test",
3-
"version": "0.1.12",
3+
"version": "0.1.13",
44
"private": true,
55
"description": "Test suite for spreadsheet-orm",
66
"scripts": {

0 commit comments

Comments
 (0)