From 97024b6467df5c345cd7f167e58cdccd02927b89 Mon Sep 17 00:00:00 2001 From: baryon2 Date: Tue, 22 Oct 2024 11:21:02 +0530 Subject: [PATCH 1/3] fix node version in publish workflow --- .github/workflows/publish-beta.workflow.yml | 8 ++++---- .github/workflows/workflow.yml | 10 +++++----- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.github/workflows/publish-beta.workflow.yml b/.github/workflows/publish-beta.workflow.yml index 85da076..a780bbe 100644 --- a/.github/workflows/publish-beta.workflow.yml +++ b/.github/workflows/publish-beta.workflow.yml @@ -8,7 +8,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v1 with: - node-version: 16 + node-version: 18 - run: yarn - run: yarn lint:check test: @@ -17,7 +17,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v1 with: - node-version: 16 + node-version: 18 - run: yarn - run: yarn test @@ -34,7 +34,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: 16 + node-version: 18 registry-url: 'https://registry.npmjs.org' - run: yarn - run: yarn build @@ -49,7 +49,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: 16 + node-version: 18 registry-url: 'https://npm.pkg.github.com' scope: '@leapwallet' - run: yarn diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 284a03c..4fbb6c6 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -9,7 +9,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v1 with: - node-version: 16 + node-version: 18 - run: yarn - run: yarn lint:check test: @@ -18,7 +18,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v1 with: - node-version: 16 + node-version: 18 - run: yarn - run: yarn test:coverage @@ -35,7 +35,7 @@ jobs: - uses: actions/checkout@v2 - uses: actions/setup-node@v1 with: - node-version: 16 + node-version: 18 - run: yarn - run: yarn doc:build - uses: actions/upload-artifact@v2 @@ -55,7 +55,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: 16 + node-version: 18 registry-url: 'https://registry.npmjs.org' - run: yarn - run: yarn build @@ -70,7 +70,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: - node-version: 16 + node-version: 18 registry-url: 'https://npm.pkg.github.com' scope: '@leapwallet' - run: yarn From 6c84b1fea4ef01a82183f6505c61dfad5bf15f4c Mon Sep 17 00:00:00 2001 From: baryon2 Date: Tue, 22 Oct 2024 11:24:14 +0530 Subject: [PATCH 2/3] fix test command --- .github/workflows/workflow.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 4fbb6c6..7ed354e 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -20,7 +20,7 @@ jobs: with: node-version: 18 - run: yarn - - run: yarn test:coverage + - run: yarn test - name: Comment Test Coverage uses: raulanatol/jest-coverage-comment-action@main From 66f326e6192062fc516952a0cbb9e41971ebf85f Mon Sep 17 00:00:00 2001 From: baryon2 Date: Tue, 22 Oct 2024 11:30:57 +0530 Subject: [PATCH 3/3] remove test coverage comment --- .github/workflows/publish-beta.workflow.yml | 5 ----- .github/workflows/workflow.yml | 5 ----- 2 files changed, 10 deletions(-) diff --git a/.github/workflows/publish-beta.workflow.yml b/.github/workflows/publish-beta.workflow.yml index a780bbe..d1828a2 100644 --- a/.github/workflows/publish-beta.workflow.yml +++ b/.github/workflows/publish-beta.workflow.yml @@ -21,11 +21,6 @@ jobs: - run: yarn - run: yarn test - - name: Comment Test Coverage - uses: raulanatol/jest-coverage-comment-action@main - with: - github-token: ${{ secrets.NODE_AUTH_TOKEN }} - use-existing-reports: true publish-npm-registry: if: github.ref == 'refs/heads/staging' needs: [lint, test] diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index 7ed354e..6d02ed0 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -22,11 +22,6 @@ jobs: - run: yarn - run: yarn test - - name: Comment Test Coverage - uses: raulanatol/jest-coverage-comment-action@main - with: - github-token: ${{ secrets.NODE_AUTH_TOKEN }} - use-existing-reports: true host-docs: if: github.ref == 'refs/heads/main' needs: [lint, test]