Skip to content

Insert Outdated Node.js Version #5

Insert Outdated Node.js Version

Insert Outdated Node.js Version #5

Workflow file for this run

name: testing1206
on:
workflow_dispatch:
env:
node_version: 20
jobs:
tests:
name: Test
runs-on: self-hosted
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ env.node_version }}
uses: actions/setup-node@v4
with:
node-version: ${{ env.node_version }}
cache: 'yarn'
- name: Install Yarn
run: npm install -g yarn
- uses: actions/cache@v4
id: npm-cache
with:
path: node_modules
key: ${{ runner.os }}-${{ env.node_version }}-node-${{ hashFiles('**/yarn.lock') }}
restore-keys: ${{ runner.os }}-${{ env.node_version }}-node-
- name: Install dependencies
run: yarn install
- name: Run tests
run: yarn test