Skip to content

Commit c08d30b

Browse files
authored
chore: try to get repository recognized as marketplace action (#91)
- Renamed `action.yml` to `action.yaml` per suggestion from GH support - Removed `.github/actions/setup` in case it was causing a conflict
1 parent c196e53 commit c08d30b

File tree

7 files changed

+20
-31
lines changed

7 files changed

+20
-31
lines changed
File renamed without changes.

.github/actions/setup/action.yml

-23
This file was deleted.

.github/workflows/ci-cd.yml renamed to .github/workflows/ci-cd.yaml

+19-7
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,14 @@ jobs:
3333
- name: Checkout source
3434
uses: actions/checkout@v3
3535

36-
- name: Install Node.js ${{ matrix.node }} and dependencies
37-
uses: ./.github/actions/setup
36+
- name: Install Node.js ${{ matrix.node }}
37+
uses: actions/setup-node@v3
3838
with:
3939
node-version: ${{ matrix.node-version }}
40+
cache: npm
41+
42+
- name: Install dependencies
43+
run: npm ci
4044

4145
- name: Run tests
4246
run: npm run coverage
@@ -68,8 +72,14 @@ jobs:
6872
- name: Checkout source
6973
uses: actions/checkout@v3
7074

71-
- name: Install Node.js and dependencies
72-
uses: ./.github/actions/setup
75+
- name: Install Node.js
76+
uses: actions/setup-node@v3
77+
with:
78+
node-version: "18"
79+
cache: npm
80+
81+
- name: Install development dependencies
82+
run: npm ci
7383

7484
- name: Build
7585
run: npm run build
@@ -112,11 +122,13 @@ jobs:
112122
- name: Checkout source
113123
uses: actions/checkout@v3
114124

115-
- name: Install Node.js and dependencies
116-
uses: ./.github/actions/setup
125+
- name: Install Node.js ${{ matrix.node-version }}
126+
uses: actions/setup-node@v3
117127
with:
118128
node-version: ${{ matrix.node-version }}
119-
install-command: npm install --production
129+
130+
- name: Install production dependencies
131+
run: npm install --production
120132

121133
- name: Download publish artifact
122134
uses: actions/download-artifact@v3
File renamed without changes.
File renamed without changes.

action.yml renamed to action.yaml

File renamed without changes.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"test": "vitest",
4242
"coverage": "vitest run --coverage",
4343
"_eslint": "eslint \"**/*.@(js|ts)\"",
44-
"_prettier": "prettier \"**/*.@(js|ts|json|md|yml)\""
44+
"_prettier": "prettier \"**/*.@(js|ts|json|md|yaml)\""
4545
},
4646
"engines": {
4747
"node": ">=16"

0 commit comments

Comments
 (0)