Skip to content

chore: replace fs-extra with native Node.js fs APIs #900

chore: replace fs-extra with native Node.js fs APIs

chore: replace fs-extra with native Node.js fs APIs #900

Workflow file for this run

name: node.js
on:
pull_request_target:
branches: [master]
push:
branches: [master]
env:
FORCE_COLOR: 1
PRINT_OFFLINE_OUTPUT: 1
SERVERLESS_ACCESS_KEY: ${{ secrets.SERVERLESS_ACCESS_KEY }}
jobs:
build:
name: "node.js v${{ matrix.node-version }}"
runs-on: ubuntu-latest
timeout-minutes: 40
environment: ${{ github.event_name == 'pull_request_target' && 'fork-pr-tests' || '' }}
strategy:
fail-fast: false
matrix:
node-version: [20, 22, 24]
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha || github.sha }}
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- uses: actions/setup-go@v5
with:
go-version: "1"
- uses: actions/setup-java@v4
with:
distribution: "temurin"
java-version: "11"
- uses: actions/setup-python@v5
with:
python-version: "3.9"
- uses: ruby/setup-ruby@v1
with:
ruby-version: "2.7"
- run: npm ci
- run: npm run prettier
- run: npm run lint
- run: npm test