Skip to content

Bump GitHub workflow action actions/checkout@v4 #37

Bump GitHub workflow action actions/checkout@v4

Bump GitHub workflow action actions/checkout@v4 #37

Workflow file for this run

name: Test
on:
push:
branches:
- main
jobs:
main:
name: Test
runs-on: ubuntu-latest
steps:
- name: Checkout source
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 16.x
- name: Setup Node.js modules cache
uses: actions/cache@v3
with:
path: |
~/.npm
key: ${{ runner.os }}-nodejs-${{ hashFiles('package-lock.json') }}
restore-keys: |
${{ runner.os }}-nodejs-
- name: Install npm packages
run: npm ci
- name: Lint
run: npx eslint .
- name: Test
run: ./test/test.sh