chore(deps-dev): bump ava from 3.15.0 to 5.3.1 #643
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: ci | |
on: | |
push: | |
branches: | |
- main | |
- dev | |
pull_request: | |
branches: | |
- main | |
- dev | |
jobs: | |
ci: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
node: [14, 15] | |
steps: | |
- name: Checkout 🛎️ | |
uses: actions/checkout@master | |
- name: Setup node env 📦 | |
uses: actions/setup-node@v3.3.0 | |
with: | |
node-version: ${{ matrix.node }} | |
- name: Get npm cache directory 🏗 | |
id: npm-cache | |
run: echo "::set-output name=dir::$(npm config get cache)" | |
- name: Restore cached node_modules 🤷♂️ | |
uses: actions/cache@v3.3.1 | |
with: | |
path: ${{ steps.npm-cache.outputs.dir }} | |
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} | |
restore-keys: | | |
${{ runner.os }}-node- | |
- name: Install dependencies 🛠 | |
if: steps.cache.outputs.cache-hit != 'true' | |
run: npm install | |
- name: Generate the static site ⚡️ | |
run: npm run generate | |
- name: Check for lint errors 👀 | |
run: npm run lint | |
- name: Run Tests 🧪 | |
run: npm run test | |
- name: Coveralls GitHub Action | |
uses: coverallsapp/github-action@1.1.3 | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} |