From 4716689255c92d89dee5c3461266386fb13bd623 Mon Sep 17 00:00:00 2001 From: Daniel Roe Date: Sun, 27 Feb 2022 14:32:40 +0000 Subject: [PATCH] ci: test in actions --- .github/workflows/sync.yml | 5 ++--- .github/workflows/test.yml | 5 ++--- package.json | 4 ++-- src/components/GithubRepos.vue | 2 +- src/layouts/default.vue | 2 +- 5 files changed, 8 insertions(+), 10 deletions(-) diff --git a/.github/workflows/sync.yml b/.github/workflows/sync.yml index 54049eb4..f71961db 100644 --- a/.github/workflows/sync.yml +++ b/.github/workflows/sync.yml @@ -3,7 +3,7 @@ name: sync on: push: branches: - - master + - main jobs: sync_devto: @@ -15,11 +15,10 @@ jobs: - uses: actions/cache@v2 id: cache with: - path: 'node_modules' + path: "node_modules" key: ${{ runner.os }}-${{ hashFiles('yarn.lock') }} - name: Install dependencies - if: steps.cache.outputs.cache-hit != 'true' run: yarn - name: Update blogs on dev.to diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 6e36af91..d9267759 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -3,7 +3,7 @@ name: test on: push: branches: - - master + - main jobs: test: @@ -15,11 +15,10 @@ jobs: - uses: actions/cache@v2 id: cache with: - path: 'node_modules' + path: "node_modules" key: ${{ runner.os }}-${{ hashFiles('yarn.lock') }} - name: Install dependencies - if: steps.cache.outputs.cache-hit != 'true' run: yarn - name: Lint project diff --git a/package.json b/package.json index 5c6322d7..d8f7ac01 100644 --- a/package.json +++ b/package.json @@ -7,8 +7,8 @@ "build": "nuxi generate", "start": "nuxi start", "generate": "nuxi generate", - "lint:js": "eslint --ext .js,.vue --ignore-path .gitignore .", - "lint:style": "stylelint **/*.{vue,css} --ignore-path .gitignore", + "lint:js": "eslint --ext .js,.vue --fix --ignore-path .gitignore .", + "lint:style": "stylelint **/*.{vue,css} --fix --ignore-path .gitignore", "lint": "yarn lint:js && yarn lint:style", "test": "jest", "prepare": "husky install" diff --git a/src/components/GithubRepos.vue b/src/components/GithubRepos.vue index 338bd9ac..6b9fba8e 100644 --- a/src/components/GithubRepos.vue +++ b/src/components/GithubRepos.vue @@ -87,7 +87,7 @@ export default defineComponent({ svg { height: 1em; width: 1em; - fill: currentColor; + fill: currentcolor; } article > :first-child { diff --git a/src/layouts/default.vue b/src/layouts/default.vue index d327799f..a6ad2ad1 100644 --- a/src/layouts/default.vue +++ b/src/layouts/default.vue @@ -177,7 +177,7 @@ a { a:not([href^='#']) { &::after { - border-color: currentColor; + border-color: currentcolor; opacity: 0.1; } -- knotmirror 0.0.1