Skip to content

Commit

Permalink
Use to GitHub Actions instead of Travis CI
Browse files Browse the repository at this point in the history
  • Loading branch information
pavelhoral committed Apr 7, 2024
1 parent 89ef473 commit 7595c63
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 6 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Test

on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:

jobs:
test:
runs-on: ubuntu-latest

strategy:
matrix:
node_version: [18, 20, 21]

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Use Node.js ${{ matrix.node_version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node_version }}
cache: npm

- name: Install dependencies
run: npm ci

- name: Run tests
run: npm run test
4 changes: 0 additions & 4 deletions .travis.yml

This file was deleted.

2 changes: 0 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
# Turndown

[![Build Status](https://travis-ci.org/domchristie/turndown.svg?branch=master)](https://travis-ci.org/domchristie/turndown)

Convert HTML into Markdown with JavaScript.

## Project Updates
Expand Down

0 comments on commit 7595c63

Please sign in to comment.