Skip to content

Commit

Permalink
chore: use pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
aminya committed Jul 24, 2020
1 parent d62c41a commit 0b68ea7
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 5,671 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
run: apm -v
- name: Install APM dependencies
run: |
apm ci # uses locked module. use `apm install` for non-locked
apm install
Release:
needs: [Test]
Expand All @@ -43,7 +43,7 @@ jobs:
with:
node-version: "14.x"
- name: NPM install
run: npm ci
run: npm install
- name: Release 🎉
uses: cycjimmy/semantic-release-action@v2
env:
Expand Down
16 changes: 10 additions & 6 deletions .github/workflows/bump_deps.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,25 @@ on:
- cron: "0 0 * * *"

jobs:
build:
Bump_Dependencies:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2-beta
with:
node-version: '14'
node-version: "14"
- name: Setup PNPM
uses: pnpm/[email protected]
with:
version: 4.11.1
- run: |
npm ci
npm run bump
npm install
pnpm install
pnpm run bump
pnpm install
- uses: peter-evans/create-pull-request@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: Update dependencies
commit-message: Update dependencies
title: "[AUTO] Update dependencies"
labels: Dependencies
branch: "Bump"
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ Thumbs.db

# Node
node_modules
package-lock.json

# TypeScript
*.tsbuildinfo
Expand Down
Loading

0 comments on commit 0b68ea7

Please sign in to comment.