Skip to content

Commit

Permalink
chore: use pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
casperiv0 committed Apr 2, 2023
1 parent 2aac5d2 commit 0f12374
Show file tree
Hide file tree
Showing 5 changed files with 2,271 additions and 3,756 deletions.
19 changes: 12 additions & 7 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,29 @@
name: Check ESlint
name: Lint

on: [push, pull_request]

jobs:
eslint:
lint:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [16.x]
node-version: [16.x, 18.x]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 8

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
uses: actions/setup-node@v3
with:
cache: npm
node-version: ${{ matrix.node-version }}
cache: "pnpm"

- name: Install dependencies
run: npm install
run: pnpm install

- name: Run lint
run: npm run lint
18 changes: 10 additions & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Test releases
name: Push release

on:
push:
Expand All @@ -12,17 +12,19 @@ jobs:
if: github.event_name == 'push' && startsWith(github.event.head_commit.message, 'chore(release)') && !contains(github.event.head_commit.message, '[skip ci]')

steps:
- name: Checkout repository
uses: actions/checkout@v2
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 8

- name: Install Node v16
uses: actions/setup-node@v2
- name: Use Node.js 18
uses: actions/setup-node@v3
with:
node-version: 16
registry-url: https://registry.npmjs.org/
node-version: 18
cache: "pnpm"

- name: Install dependencies
run: npm ci --ignore-scripts
run: pnpm install

- name: build integrations
run: npm run build
Expand Down
Loading

0 comments on commit 0f12374

Please sign in to comment.