Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: try to get repository recognized as marketplace action #91

Merged
merged 1 commit into from
May 1, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
23 changes: 0 additions & 23 deletions .github/actions/setup/action.yml

This file was deleted.

26 changes: 19 additions & 7 deletions .github/workflows/ci-cd.yml → .github/workflows/ci-cd.yaml
Original file line number Diff line number Diff line change
@@ -33,10 +33,14 @@ jobs:
- name: Checkout source
uses: actions/checkout@v3

- name: Install Node.js ${{ matrix.node }} and dependencies
uses: ./.github/actions/setup
- name: Install Node.js ${{ matrix.node }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: npm

- name: Install dependencies
run: npm ci

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

- name: Install Node.js and dependencies
uses: ./.github/actions/setup
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: "18"
cache: npm

- name: Install development dependencies
run: npm ci

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

- name: Install Node.js and dependencies
uses: ./.github/actions/setup
- name: Install Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
install-command: npm install --production

- name: Install production dependencies
run: npm install --production

- name: Download publish artifact
uses: actions/download-artifact@v3
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -41,7 +41,7 @@
"test": "vitest",
"coverage": "vitest run --coverage",
"_eslint": "eslint \"**/*.@(js|ts)\"",
"_prettier": "prettier \"**/*.@(js|ts|json|md|yml)\""
"_prettier": "prettier \"**/*.@(js|ts|json|md|yaml)\""
},
"engines": {
"node": ">=16"