WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

chore(deps): bump tmp, eslint and eslint-config-airbnb-base #59

chore(deps): bump tmp, eslint and eslint-config-airbnb-base

chore(deps): bump tmp, eslint and eslint-config-airbnb-base #59

Workflow file for this run

name: Actions
on:
pull_request:
branches:
- master
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
lint:
# preserve name for actions name checking
name: Lint (16.x)
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Use Node.js
uses: actions/setup-node@v6
with:
node-version-file: '.nvmrc'
cache: 'npm'
- name: Install Dependencies
run: npm install
- name: Run linters
run: npm run lint
test:
name: Test
runs-on: ubuntu-latest
needs: [lint, coverage]
strategy:
max-parallel: 1
fail-fast: false
matrix:
node-version: [ 8.x, 12.x, 14.x, 16.x, 18.x, 20.x, 22.x, 24.x ]
steps:
- uses: actions/checkout@v5
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- uses: nick-fields/retry@v3
with:
timeout_minutes: 10
max_attempts: 3
command: npm test
env:
CI: true
parallel: true
coverage:
# preserve name for actions name checking
name: Coverage (16.x)
runs-on: ubuntu-latest
needs: [lint]
if: github.repository == 'filipedeschamps/rss-feed-emitter'
steps:
- uses: actions/checkout@v5
- name: Use Node.js
uses: actions/setup-node@v6
with:
node-version-file: '.nvmrc'
cache: 'npm'
- run: npm ci
- run: npm test
env:
CI: true
- name: Coveralls
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}