Skip to content

Commit

Permalink
Merge pull request #148 from wwnorton/updates
Browse files Browse the repository at this point in the history
Cleanup and update
  • Loading branch information
sh0ji committed Jun 28, 2023
2 parents f3931e5 + 4259e41 commit 4dcb941
Show file tree
Hide file tree
Showing 55 changed files with 8,821 additions and 46,547 deletions.
6 changes: 4 additions & 2 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,14 @@ module.exports = {
{
packageDir: [
'.',
'./packages/commitlint-config-norton',
'./packages/eslint-config-norton',
'./packages/stylelint-config-norton',
'./guides-website',
],
},
],
},
ignorePatterns: [
'invalid-*',
'packages/commitlint-config-norton/**',
],
};
36 changes: 7 additions & 29 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ on:

env:
FORCE_COLOR: 2
NODE_VERSION: 16
NPM_VERSION: 8
NODE_VERSION: 18
NPM_VERSION: latest

jobs:
eslint:
Expand All @@ -20,20 +20,8 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}
- name: Update npm
run: npm i -g npm@${{ env.NPM_VERSION }}
- uses: actions/cache@v3
id: node-cache
with:
path: |
~/.npm
node_modules
**/node_modules
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
cache: 'npm'
- name: Install 📦
if: steps.node-cache.outputs.cache-hit != 'true'
run: npm ci
- name: ESLint ✨
run: npm run eslint
Expand All @@ -44,26 +32,16 @@ jobs:
strategy:
fail-fast: false
matrix:
node: [12, 14, 16, 18]
node: [14, 16, 18]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- name: Update npm
run: npm i -g npm@${{ env.NPM_VERSION }}
- uses: actions/cache@v3
id: node-cache
with:
path: |
~/.npm
node_modules
**/node_modules
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
cache: 'npm'
- name: Update NPM
run: npm install -g npm@${{ env.NPM_VERSION }}
- name: Install 📦
if: steps.node-cache.outputs.cache-hit != 'true'
run: npm ci
- name: Test 🧪
run: npm run test
54 changes: 0 additions & 54 deletions .github/workflows/pages.yml

This file was deleted.

12 changes: 0 additions & 12 deletions guides-website/.eslintrc.js

This file was deleted.

20 changes: 0 additions & 20 deletions guides-website/.gitignore

This file was deleted.

93 changes: 0 additions & 93 deletions guides-website/CHANGELOG.md

This file was deleted.

33 changes: 0 additions & 33 deletions guides-website/README.md

This file was deleted.

3 changes: 0 additions & 3 deletions guides-website/babel.config.js

This file was deleted.

18 changes: 0 additions & 18 deletions guides-website/blog/2019-05-29-hello-world.md

This file was deleted.

0 comments on commit 4dcb941

Please sign in to comment.