Skip to content

Commit

Permalink
chore: 🤖 setup
Browse files Browse the repository at this point in the history
  • Loading branch information
IWANABETHATGUY committed Jul 13, 2024
1 parent 5123a97 commit dfa601e
Showing 1 changed file with 12 additions and 14 deletions.
26 changes: 12 additions & 14 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,23 +38,21 @@ jobs:
ref: 'main'
token: ${{ secrets.METRIC_SECRET_KEY }}

# - name: Setup Pnpm
# uses: pnpm/action-setup@v2
# with:
# version: 8.10.5
#
# - name: Set up Node.js
# uses: actions/setup-node@v4
# with:
# node-version: '20' # Specify the Node.js version you need
# cache: 'pnpm'
- name: Setup Pnpm
uses: pnpm/action-setup@v2
with:
version: 8.10.5

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '20' # Specify the Node.js version you need
cache: 'pnpm'

- name: Install dependencies and push metric
run: |
# pnpm install -r
ls
cat metric.json
node scripts/compile-time.mjs
pnpm install -r
node ./scripts/compile-time.mjs
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
git add metric.json
Expand Down

0 comments on commit dfa601e

Please sign in to comment.