Skip to content

Commit

Permalink
Update config for Github Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
piecioshka committed Nov 17, 2023
1 parent a85fa95 commit 9a0e115
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/testing.yml
@@ -1,13 +1,13 @@
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs

name: Testing

on:
push:
branches: [ master ]
branches: [ "main" ]
pull_request:
branches: [ master ]
branches: [ "main" ]

jobs:
build:
Expand All @@ -19,11 +19,12 @@ jobs:
node-version: [16.x, 18.x]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- run: npm run build --if-present
- run: npm test
env:
CI: true
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -2,7 +2,7 @@

[![npm version](https://badge.fury.io/js/eslint-plugin-todo-with-label.svg)](https://badge.fury.io/js/eslint-plugin-todo-with-label)
[![downloads count](https://img.shields.io/npm/dt/eslint-plugin-todo-with-label.svg)](https://www.npmjs.com/package/eslint-plugin-todo-with-label)
[![github-ci](https://github.com/piecioshka/eslint-plugin-todo-with-label/workflows/Testing/badge.svg?branch=master)](https://github.com/piecioshka/eslint-plugin-todo-with-label/actions/)
[![github-ci](https://github.com/piecioshka/eslint-plugin-todo-with-label/workflows/Testing/badge.svg?branch=main)](https://github.com/piecioshka/eslint-plugin-todo-with-label/actions/)

馃敤 ESLint plugin supports TODO comments with a label in parenthesis

Expand Down

0 comments on commit 9a0e115

Please sign in to comment.