diff --git a/.github/workflows/check-dist.yml b/.github/workflows/check-dist.yml index b54921c..c3cf9ac 100644 --- a/.github/workflows/check-dist.yml +++ b/.github/workflows/check-dist.yml @@ -29,7 +29,7 @@ jobs: cache: 'npm' - name: Install dependencies - run: npm install + run: npm ci - name: Move the committed index.js file run: mv dist/index.js /tmp diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 03b7eae..e0a3601 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -32,17 +32,13 @@ jobs: cache: 'npm' - name: Install dependencies - run: npm install + run: npm ci - name: Compile run: npm run build - - name: npm test - run: | - npm install - npm ci - ls node_modules/jest - npm run test + - name: Test + run: npm run test - name: Lint run: npm run lint