diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index bd6f481..ea38e1c 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -17,8 +17,8 @@ jobs: uses: actions/cache@v2 with: path: '**/node_modules' - key: ${{ runner.os }}-lint-modules-${{ secrets.CACHE_VERSION }}-${{ hashFiles('**/yarn.lock') }} + key: ${{ runner.os }}-lint-modules-${{ secrets.CACHE_VERSION }}-${{ hashFiles('**/package-lock.json') }} - name: Install dependencies - run: yarn install --pure-lockfile + run: npm install --pure-lockfile - name: Run linter - run: yarn run lint + run: npm run lint diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index c970c7a..dab8a92 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -28,17 +28,13 @@ jobs: **/node_modules .rdf-test-suite-cache .rdf-test-suite-ldf-cache - key: ${{ runner.os }}-test-modules-${{ secrets.CACHE_VERSION }}-${{ hashFiles('**/yarn.lock') }} + key: ${{ runner.os }}-test-modules-${{ secrets.CACHE_VERSION }}-${{ hashFiles('**/package-lock.json') }} - name: Install dependencies - run: yarn install --pure-lockfile + run: npm install - name: Build project - run: yarn run build - - name: Run depcheck - run: yarn run depcheck - - name: Run browser-tests - run: yarn run test-browser + run: npm run build - name: Run tests - run: yarn run test-ci + run: npm run test - name: Submit coverage results uses: coverallsapp/github-action@master with: