Skip to content

Commit

Permalink
chore: switch back to npm
Browse files Browse the repository at this point in the history
  • Loading branch information
egoist committed Jun 3, 2021
1 parent 5e5a9f1 commit 893bac6
Show file tree
Hide file tree
Showing 4 changed files with 12,407 additions and 4,328 deletions.
19 changes: 6 additions & 13 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,22 +23,15 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Cache ~/.pnpm-store
uses: actions/cache@v2
env:
cache-name: cache-pnpm-store
- uses: actions/cache@v2
with:
path: ~/.pnpm-store
key: ${{ runner.os }}-${{ matrix.node-version }}-build-${{ env.cache-name }}-${{ hashFiles('**/pnpm-lock.yaml') }}
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-${{ matrix.node-version }}-build-${{ env.cache-name }}-
${{ runner.os }}-${{ matrix.node-version }}-build-
${{ runner.os }}-
- name: Install pnpm
run: npm i -g pnpm
- run: pnpm i
${{ runner.os }}-node-
- run: npm ci
- run: npm run test --if-present
- run: pnpx -y semantic-release
- run: npx -y semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
Loading

1 comment on commit 893bac6

@vercel
Copy link

@vercel vercel bot commented on 893bac6 Jun 3, 2021

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.