Skip to content

Commit

Permalink
Try without phrase eslint package
Browse files Browse the repository at this point in the history
  • Loading branch information
lookasc committed Nov 27, 2023
1 parent 6fa58b3 commit 97272ff
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 45 deletions.
1 change: 0 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ module.exports = {
},
extends: [
'plugin:vue/essential',
'eslint-config-phrase',
'@vue/typescript/recommended',
],
parserOptions: {
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ on:
jobs:
build-and-deploy:
runs-on: ubuntu-latest
env:
GITHUB_AUTH_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }}
# env:
# GITHUB_AUTH_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }}
steps:
- name: Checkout
uses: actions/checkout@v3
Expand All @@ -24,10 +24,10 @@ jobs:
with:
version: 8.10.2

- name: Configure Phrase GitHub packages registry url & auth token
run: |
pnpm config set --global "npmScopes[phrase].npmRegistryServer" "https://npm.pkg.github.com"
pnpm config set --global "npmScopes[phrase].npmAuthToken" "\${GITHUB_AUTH_TOKEN}"
# - name: Configure Phrase GitHub packages registry url & auth token
# run: |
# pnpm config set --global "npmScopes[phrase].npmRegistryServer" "https://npm.pkg.github.com"
# pnpm config set --global "npmScopes[phrase].npmAuthToken" "\${GITHUB_AUTH_TOKEN}"

- name: Install and Build 🔧
run: |
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ jobs:
lint:
name: Lint
runs-on: ubuntu-latest
env:
GITHUB_AUTH_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }}
# env:
# GITHUB_AUTH_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }}
steps:
- name: Checkout
uses: actions/checkout@v3
Expand All @@ -20,10 +20,10 @@ jobs:
with:
version: 8.10.2

- name: Configure Phrase GitHub packages registry url & auth token
run: |
pnpm config set --global "npmScopes[phrase].npmRegistryServer" "https://npm.pkg.github.com"
pnpm config set --global "npmScopes[phrase].npmAuthToken" "\${GITHUB_AUTH_TOKEN}"
# - name: Configure Phrase GitHub packages registry url & auth token
# run: |
# pnpm config set --global "npmScopes[phrase].npmRegistryServer" "https://npm.pkg.github.com"
# pnpm config set --global "npmScopes[phrase].npmAuthToken" "\${GITHUB_AUTH_TOKEN}"

- name: Install dependencies
run: pnpm install
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ jobs:
release:
name: Release
runs-on: ubuntu-latest
env:
GITHUB_AUTH_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }}
# env:
# GITHUB_AUTH_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }}
steps:
- name: Checkout
uses: actions/checkout@v3
Expand All @@ -23,10 +23,10 @@ jobs:
with:
version: 8.10.2

- name: Configure Phrase GitHub packages registry url & auth token
run: |
pnpm config set --global "npmScopes[phrase].npmRegistryServer" "https://npm.pkg.github.com"
pnpm config set --global "npmScopes[phrase].npmAuthToken" "\${GITHUB_AUTH_TOKEN}"
# - name: Configure Phrase GitHub packages registry url & auth token
# run: |
# pnpm config set --global "npmScopes[phrase].npmRegistryServer" "https://npm.pkg.github.com"
# pnpm config set --global "npmScopes[phrase].npmAuthToken" "\${GITHUB_AUTH_TOKEN}"

- name: Install dependencies
run: pnpm install
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/test-coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ jobs:
test:
name: Test
runs-on: ubuntu-latest
env:
GITHUB_AUTH_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }}
# env:
# GITHUB_AUTH_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }}
steps:
- name: Checkout
uses: actions/checkout@v3
Expand All @@ -20,10 +20,10 @@ jobs:
with:
version: 8.10.2

- name: Configure Phrase GitHub packages registry url & auth token
run: |
pnpm config set --global "npmScopes[phrase].npmRegistryServer" "https://npm.pkg.github.com"
pnpm config set --global "npmScopes[phrase].npmAuthToken" "\${GITHUB_AUTH_TOKEN}"
# - name: Configure Phrase GitHub packages registry url & auth token
# run: |
# pnpm config set --global "npmScopes[phrase].npmRegistryServer" "https://npm.pkg.github.com"
# pnpm config set --global "npmScopes[phrase].npmAuthToken" "\${GITHUB_AUTH_TOKEN}"

- name: Install dependencies
run: pnpm install
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
"@vue/vue2-jest": "^29.2.6",
"babel-jest": "^29.7.0",
"eslint": "^8.54.0",
"eslint-config-phrase": "git+https://github.com/phrase/eslint-config-phrase.git",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-vue": "^9.18.1",
"jest": "^29.7.0",
Expand Down
20 changes: 1 addition & 19 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 97272ff

Please sign in to comment.