Skip to content

Commit 2328922

Browse files
committed
change working directory in publish workflow [skip ci]
1 parent d2ab91c commit 2328922

File tree

5 files changed

+8
-30
lines changed

5 files changed

+8
-30
lines changed

.github/workflows/docs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
- cron: "0 */8 * * *"
88
jobs:
99
generate-docs:
10-
if: github.event.repository.owner.login == 'react18-tools'
10+
if: github.event.repository.owner.login == 'mayank1513'
1111
runs-on: ubuntu-latest
1212
permissions:
1313
packages: write

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@ name: Publish to NPM
44
on:
55
push:
66
branches: [main]
7-
paths: "lib/fork-me/package.json"
7+
paths: "lib/nthul/package.json"
88

99
jobs:
1010
publish:
1111
# Don't run just after creating repo from template
1212
# Also avoid running after merging set-up PR
13-
if: github.run_number > 2 && github.event.repository.owner.login == 'react18-tools'
13+
if: github.run_number > 2 && github.event.repository.owner.login == 'mayank1513'
1414
runs-on: ubuntu-latest
1515
permissions:
1616
packages: write
@@ -19,7 +19,7 @@ jobs:
1919

2020
defaults:
2121
run:
22-
working-directory: ./lib/fork-me
22+
working-directory: ./lib/nthul
2323

2424
steps:
2525
- uses: actions/checkout@v3

.github/workflows/test.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ on:
77
- cron: "5 */8 * * *"
88
jobs:
99
test:
10-
if: github.run_number != 1
1110
runs-on: ubuntu-latest
1211
permissions:
1312
contents: write
@@ -24,12 +23,12 @@ jobs:
2423
continue-on-error: true
2524
uses: codecov/codecov-action@v3
2625
with:
27-
directory: ./lib/fork-me
26+
directory: ./lib/nthul
2827
token: ${{ secrets.CODECOV_TOKEN }}
29-
flags: fork-me
28+
flags: nthul
3029
- uses: paambaati/[email protected]
3130
continue-on-error: true
3231
env:
3332
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
3433
with:
35-
coverageLocations: ./lib/fork-me/coverage/*.xml:clover
34+
coverageLocations: ./lib/nthul/coverage/*.xml:clover

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@
66
"test": "turbo run test",
77
"doc": "turbo run doc",
88
"lint": "turbo run lint",
9-
"format": "prettier --write \"**/*.{ts,tsx,js,jsx,md,css,scss}\"",
10-
"preinstall": "node -e \"require('child_process').spawn('bash', ['./preinstall.sh'], { stdio: 'inherit'})\""
9+
"format": "prettier --write \"**/*.{ts,tsx,js,jsx,md,css,scss}\""
1110
},
1211
"devDependencies": {
1312
"@changesets/cli": "^2.27.1",

preinstall.sh

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

0 commit comments

Comments
 (0)