Skip to content

Bump actions/cache from 3 to 4 #366

Bump actions/cache from 3 to 4

Bump actions/cache from 3 to 4 #366

Workflow file for this run

name: CI
on:
push:
tags:
- '*'
branches:
- 'dev'
pull_request:
branches:
- '*'
concurrency: CI
jobs:
test-javascript:
name: 'Test JavaScript'
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- uses: actions/cache@v4
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Install dependencies
run: npm i
- name: Run tests
run: npm run lint
env:
CI: true
automerge:
name: Auto Merge Dependabot
needs: [test-javascript]
runs-on: ubuntu-latest
permissions:
pull-requests: write
contents: write
steps:
- uses: fastify/github-action-merge-dependabot@v3.9.1
with:
github-token: ${{secrets.PA_TOKEN}}