diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 5868728..6237c6c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -1,25 +1,25 @@ -on: ["push", "pull_request"] - name: Test Coveralls -jobs: +on: ["push", "pull_request"] +jobs: build: name: Build runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v2 - name: Use Node.js 18.x uses: actions/setup-node@v3 with: node-version: 18.x - - name: npm install, make test-coverage - run: | - npm install - npm run test:cov + - name: Install dependencies + run: npm ci + + - name: Run coverage + run: npm run test:cov - name: Coveralls - uses: coverallsapp/github-action@v2 \ No newline at end of file + uses: coverallsapp/github-action@v2.2.3 \ No newline at end of file