diff options
| author | Shinigami <[email protected]> | 2022-01-19 19:24:40 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2022-01-19 19:24:40 +0100 |
| commit | a273f67066c7c19b01ff4348eb9d7e857615cca6 (patch) | |
| tree | 203a8137cc55222367919693121f8eaba17a0d96 /.github/workflows | |
| parent | 61d02960a9132fa2c4d4d7259883b2e944233bb9 (diff) | |
| download | faker-a273f67066c7c19b01ff4348eb9d7e857615cca6.tar.xz faker-a273f67066c7c19b01ff4348eb9d7e857615cca6.zip | |
chore: switch to pnpm (#153)
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/ci.yml | 26 |
1 files changed, 19 insertions, 7 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1734cb50..5dc89fa1 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,20 +25,25 @@ jobs: - name: Checkout uses: actions/checkout@v2 + - name: Install pnpm + uses: pnpm/action-setup@v2 + with: + version: 6 + - name: Set node version to ${{ matrix.node_version }} uses: actions/setup-node@v2 with: node-version: ${{ matrix.node_version }} - cache: 'npm' + cache: 'pnpm' - name: Install deps - run: npm ci + run: pnpm install - name: Build - run: npm run build + run: pnpm run build - name: Test - run: npm run test + run: pnpm run test lint: runs-on: ubuntu-latest @@ -46,15 +51,22 @@ jobs: steps: - name: Checkout uses: actions/checkout@v2 + with: + fetch-depth: 0 + + - name: Install pnpm + uses: pnpm/action-setup@v2 + with: + version: 6 - name: Set node version to 16 uses: actions/setup-node@v2 with: node-version: 16 - cache: 'npm' + cache: 'pnpm' - name: Install deps - run: npm ci + run: pnpm install - name: Lint - run: npm run lint + run: pnpm run lint |
