Skip to content

Merge branch 'master' into renovate/babel-loader-9.x #2848

Merge branch 'master' into renovate/babel-loader-9.x

Merge branch 'master' into renovate/babel-loader-9.x #2848

Workflow file for this run

name: tests
on: [push]
jobs:
build-and-test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: "14.x"
- name: Cache node modules
uses: actions/cache@v3
with:
path: node_modules
key: ${{ runner.OS }}-build-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.OS }}-build-${{ env.cache-name }}-
${{ runner.OS }}-build-
${{ runner.OS }}-
- name: Install dependencies
run: npm ci
env:
CI: TRUE
- name: Build plugin
run: npm run build
- name: Run the tests
run: npm test
env:
CI: TRUE