pdf.js/.github/workflows/ci.yml
Tim van der Meij 588447aa90
Upgrade Node.js to version 18 in the CI workflow
Version 16 that we used before is now in maintenance mode, so we should
upgrade to the most recent LTS version. For more information on the
Node.js release schedule please refer to
https://github.com/nodejs/release#release-schedule.
2023-01-08 17:35:08 +01:00

28 lines
500 B
YAML

name: CI
on: [push, pull_request]
permissions:
contents: read
jobs:
test:
name: Test
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Use Node.js 18 LTS
uses: actions/setup-node@v3
with:
node-version: '18'
- name: Install Gulp
run: npm install -g gulp-cli
- name: Install other dependencies
run: npm install -f
- name: Run tests
run: gulp ci-test