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

Initial fork #1

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
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
3 changes: 0 additions & 3 deletions .github/FUNDING.yml

This file was deleted.

42 changes: 11 additions & 31 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
code: ${{ steps.filter.outputs.code }}
steps:
- name: Checkout
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c
uses: actions/checkout@v3

- name: Check if we actually made changes
uses: dorny/paths-filter@4512585405083f25c027a35db413c2b3b9006d50
Expand All @@ -44,10 +44,10 @@ jobs:
if: ${{ needs.changes.outputs.code == 'true' }}
steps:
- name: Check out code
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c
uses: actions/checkout@v3

- name: Set up node
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c
uses: actions/setup-node@v3
with:
cache: "npm"
cache-dependency-path: package-lock.json
Expand All @@ -68,10 +68,10 @@ jobs:
- warm-up-cache
steps:
- name: Check out code
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c
uses: actions/checkout@v3

- name: Set up node
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c
uses: actions/setup-node@v3
with:
node-version-file: ".nvmrc"
cache: "npm"
Expand All @@ -93,10 +93,10 @@ jobs:
- warm-up-cache
steps:
- name: Check out code
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c
uses: actions/checkout@v3

- name: Set up node
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c
uses: actions/setup-node@v3
with:
node-version-file: ".nvmrc"
cache: "npm"
Expand Down Expand Up @@ -125,12 +125,12 @@ jobs:
- warm-up-cache
steps:
- name: Check out code
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Set up node
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c
uses: actions/setup-node@v3
with:
node-version-file: ".nvmrc"
cache: "npm"
Expand All @@ -148,37 +148,17 @@ jobs:
npm run test:ci -- --coverage --testLocationInResults --reporters=default --reporters=jest-junit
continue-on-error: true

- name: Upload unit-test results
uses: enricomi/publish-unit-test-result-action@7377632048da85434c30810c38353542d3162dc4
with:
check_name: Unit-test results
files: reports/unit-tests-report.xml

- name: Setup Code Climate test-reporter
shell: bash
run: |
# download test reporter as a static binary
curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
chmod +x ./cc-test-reporter
- name: Run code-climate-test-reporter
shell: bash
env:
CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }}
run: |
./cc-test-reporter format-coverage coverage/lcov.info --input-type lcov --output reports/codeclimate.json
./cc-test-reporter upload-coverage --input reports/codeclimate.json

npm-dependencies:
name: Validate dependencies
runs-on: ubuntu-latest
needs:
- warm-up-cache
steps:
- name: Check out code
uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c
uses: actions/checkout@v3

- name: Set up node
uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c
uses: actions/setup-node@v3
with:
node-version-file: ".nvmrc"
cache: "npm"
Expand Down
2 changes: 1 addition & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
@actions-rs-plus:registry=https://npm.pkg.github.com
@open-actions-rs:registry=https://npm.pkg.github.com
Loading