Skip to content

Bump actions/setup-node from 6 to 7 #120

Bump actions/setup-node from 6 to 7

Bump actions/setup-node from 6 to 7 #120

name: Automated Tests
on:
push:
branches: [main, develop]
pull_request:
branches: [main, develop]
permissions:
contents: read
jobs:
run-lint:
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- run: echo "πŸŽ‰ The job was automatically triggered by a ${{ github.event_name }} event."
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!"
- run: echo "πŸ”Ž The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
- name: Check out repository code
uses: actions/checkout@v6
- run: echo "πŸ’‘ The ${{ github.repository }} repository has been cloned to the runner."
- run: echo "πŸ–₯️ The workflow is now ready to test your code on the runner."
- name: Use Node.js
uses: actions/setup-node@v7
with:
node-version: 22
cache: npm
- name: Install dependencies
run: npm ci
- name: Check spelling
run: node --run test:spelling
- name: Check linting
run: node --run lint
- name: Check shell scripts
run: shellcheck monitor-commands-*.sh
- name: Run unit tests
run: node --run test:unit
- name: Report status
if: always()
run: echo "🍏 This job's status is ${{ job.status }}."