mirror of
https://github.com/zen-browser/pdf.js.git
synced 2025-07-08 17:30:09 +02:00
Switch from Travis CI to GitHub Actions
This commit is contained in:
parent
1c8ead133a
commit
dd190a59b9
2 changed files with 14 additions and 10 deletions
14
.github/workflows/ci.yml
vendored
Normal file
14
.github/workflows/ci.yml
vendored
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
name: CI
|
||||||
|
on: [push, pull_request]
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v2
|
||||||
|
- name: Use Node.js 14 LTS
|
||||||
|
uses: actions/setup-node@v1
|
||||||
|
with:
|
||||||
|
node-version: 14.x
|
||||||
|
- run: npm install -g gulp-cli
|
||||||
|
- run: npm install
|
||||||
|
- run: npm test
|
10
.travis.yml
10
.travis.yml
|
@ -1,10 +0,0 @@
|
||||||
language: node_js
|
|
||||||
node_js:
|
|
||||||
- lts/*
|
|
||||||
cache:
|
|
||||||
directories:
|
|
||||||
- node_modules
|
|
||||||
install:
|
|
||||||
- npm install -g npm@latest
|
|
||||||
- npm install -g gulp-cli
|
|
||||||
- npm install
|
|
Loading…
Add table
Add a link
Reference in a new issue