Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
43 changes: 43 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
name: CI

on:
pull_request:
push:
# filtering branches here prevents duplicate builds from pull_request and push
branches:
- main
- "v*"
# always run CI for tags
tags:
- "*"

# early issue detection: run CI weekly on Sundays
schedule:
- cron: "0 6 * * 0"

env:
CI: true
PNPM_VERSION: 9.12.2

jobs:
test:
name: Test
runs-on: ubuntu-24.04
steps:
- name: Checkout Code
uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: ${{ env.PNPM_VERSION }}
- name: Install Node
uses: actions/setup-node@v4
with:
node-version: 20.17.0
cache: pnpm
- name: Install Dependencies
run: pnpm install --frozen-lockfile
- name: Lint
run: pnpm lint
- name: Test
run: pnpm test

13 changes: 0 additions & 13 deletions .travis.yml

This file was deleted.

15 changes: 10 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
qunit-retry
==============================================================================

[![TravisCI Build Status][travis-badge]][travis-badge-url]
[![Latest NPM release][npm-badge]][npm-badge-url]
[![CI](https://github.com/mrloop//qunit-retry/workflows/CI/badge.svg)](https://github.com/mrloop/qunit-retry/actions)

[npm-badge]: https://img.shields.io/npm/v/qunit-retry.svg
[npm-badge-url]: https://www.npmjs.com/package/qunit-retry
[travis-badge]: https://img.shields.io/travis/com/mrloop/qunit-retry/master.svg
[travis-badge-url]: https://travis-ci.com/mrloop/qunit-retry

Drop in replacement for [QUnit](https://qunitjs.com/) [test](https://api.qunitjs.com/QUnit/test) to `retry` test upon failure.

Expand Down Expand Up @@ -57,6 +55,13 @@ or using [`yarn`](https://yarnpkg.com/):
yarn add --dev qunit-retry
```

or using [`pnpm`](https://pnpm.js.org/):

```bash
pnpm add --save-dev qunit-retry
```


### Node

```js
Expand Down Expand Up @@ -88,13 +93,13 @@ Contributing
### How to Run Tests

```bash
npm test
pnpm test
```

### How to Run Linting

```bash
npm run lint
pnpm lint
```

License
Expand Down
Loading