Update dependency file-type to v18 #1255
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Test | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
# https://nodejs.org/en/about/releases/ | |
node: [ '18', '20' ] | |
fail-fast: false | |
name: Node.js ${{ matrix.node }} | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node }} | |
cache: 'npm' | |
- name: Install Dependency | |
run: npm ci | |
- name: Test Project | |
run: npm test | |
- name: Test building docs | |
run: export NODE_OPTIONS=--openssl-legacy-provider; npm run docs:build |