Skip to content

Send and receive SMS messages using your Android phone programmatically via a simple HTTP API

Install dependenceis to pnpm

Acho Arnold76b96077fdda
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index 08919468..6dd70d98 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -22,27 +22,32 @@ jobs:
- name: Checkout πŸ›Ž
uses: actions/checkout@master
- - name: Setup node env πŸ—
- uses: actions/[email protected]
+ - name: Install Node.js
+ uses: actions/setup-node@v3
with:
- node-version: ${{ matrix.node }}
- check-latest: true
+ node-version: 16
- - name: Get yarn cache directory path πŸ› 
- id: yarn-cache-dir-path
- run: echo "::set-output name=dir::$(yarn cache dir)"
+ - uses: pnpm/action-setup@v2
+ name: Install pnpm
+ with:
+ version: 8
+ run_install: false
+
+ - name: Get pnpm store directory
+ shell: bash
+ run: |
+ echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
- - name: Cache node_modules πŸ“¦
- uses: actions/[email protected]
- id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
+ - uses: actions/cache@v3
+ name: Setup pnpm cache
with:
- path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
- key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
+ path: ${{ env.STORE_PATH }}
+ key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
- ${{ runner.os }}-yarn-
+ ${{ runner.os }}-pnpm-store-
- - name: Install dependencies πŸ‘¨πŸ»β€πŸ’»
- run: yarn
+ - name: Install dependencies πŸ“¦
+ run: pnpm install
- name: Run linter πŸ‘€
run: yarn lint