Skip to content
This repository has been archived by the owner on Oct 22, 2023. It is now read-only.

Update Node.js to v21 #1366

Update Node.js to v21

Update Node.js to v21 #1366

Workflow file for this run

name: Pipeline
on: [push, pull_request]
jobs:
build:
name: "Build and Test"
runs-on: ubuntu-latest
env:
TERM: xterm-256color
BATECT_CACHE_TYPE: directory
BATECT_ENABLE_TELEMETRY: true
steps:
- uses: actions/checkout@v4.1.1
- name: Validate Batect wrapper scripts
uses: batect/batect-wrapper-validation-action@v0.4.0
- name: Cache Batect
uses: actions/cache@v3.3.2
with:
path: ~/.batect/cache
key: batect-${{ hashFiles('batect') }}
- name: Cache NPM dependencies
uses: actions/cache@v3
with:
path: .batect/caches
key: batect-caches-${{ hashFiles('yarn.lock') }}
- name: Download dependencies
run: ./batect setup
- name: Lint code
run: ./batect lint
- name: Build application
run: ./batect build
- name: Test application
run: ./batect smoke-test