From 98cb755f10b51351f8307c3c0c2dd59b8679cd64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ari=20Perkki=C3=B6?= Date: Thu, 5 Jan 2023 20:04:02 +0200 Subject: [PATCH] ci: fix smoke test's npm setup (#714) * chore(dev-deps): update eslint-remote-tester-repositories * ci: fix smoke test's npm setup --- .github/workflows/smoke-test.yml | 12 +++++++++--- package.json | 2 +- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.github/workflows/smoke-test.yml b/.github/workflows/smoke-test.yml index 04816337..1790e91e 100644 --- a/.github/workflows/smoke-test.yml +++ b/.github/workflows/smoke-test.yml @@ -11,17 +11,23 @@ jobs: test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - name: Checkout + uses: actions/checkout@v3 + + - name: Use Node + uses: actions/setup-node@v3 with: node-version-file: '.nvmrc' - cache: 'npm' + - run: | npm install npm run build + - run: npm link working-directory: ./dist + - run: npm link eslint-plugin-testing-library + - uses: AriPerkkio/eslint-remote-tester-run-action@v3 with: issue-title: 'Results of weekly scheduled smoke test' diff --git a/package.json b/package.json index 1b6b9873..95f9ef31 100644 --- a/package.json +++ b/package.json @@ -70,7 +70,7 @@ "eslint-plugin-prettier": "^4.2.1", "eslint-plugin-promise": "^6.1.1", "eslint-remote-tester": "^3.0.0", - "eslint-remote-tester-repositories": "^0.0.8", + "eslint-remote-tester-repositories": "^1.0.0", "husky": "^8.0.2", "is-ci": "^3.0.1", "jest": "^28.1.3",