Skip to content

Commit

Permalink
Added @wrux Sanity analytics dashboard widgets. (#204)
Browse files Browse the repository at this point in the history
  • Loading branch information
wrux authored Sep 6, 2023
1 parent 1c2e5a3 commit 9a40de2
Show file tree
Hide file tree
Showing 8 changed files with 88 additions and 284 deletions.
36 changes: 9 additions & 27 deletions .github/workflows/eslint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,38 +2,20 @@ name: ESLint

on:
push:
branches: ['main']
branches: [main]
pull_request:
branches: ['main']
schedule:
- cron: '18 2 * * 0'
branches: [main]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Cache node modules
id: cache-npm
uses: actions/cache@v3
env:
cache-name: cache-node-modules
- uses: actions/setup-node@v3
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- if: ${{ steps.cache-npm.outputs.cache-hit != 'true' }}
name: List the state of node modules
continue-on-error: true
run: npm list

- name: Install dependencies
run: npm install

- name: Lint
run: npm run lint
node-version: 18
registry-url: 'https://npm.pkg.github.com'
- run: npm install
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- run: npm run lint
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@wrux:registry=https://npm.pkg.github.com
Loading

1 comment on commit 9a40de2

@vercel
Copy link

@vercel vercel bot commented on 9a40de2 Sep 6, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.