Skip to content

Commit

Permalink
Switch to pnpm from yarn
Browse files Browse the repository at this point in the history
  • Loading branch information
elektronaut committed Sep 27, 2024
1 parent 10a2a5c commit fc359e9
Show file tree
Hide file tree
Showing 13 changed files with 6,696 additions and 7,574 deletions.
42 changes: 12 additions & 30 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,36 +30,24 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Node modules cache
uses: actions/cache@v3
- uses: pnpm/action-setup@v4
with:
path: node_modules
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install Node modules
run: |
yarn install
version: 9
run_install: true
- name: Check code
run: yarn lint
run: pnpm lint

typescript-test:
name: Typescript
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Node modules cache
uses: actions/cache@v3
- uses: pnpm/action-setup@v4
with:
path: node_modules
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install Node modules
run: |
yarn install
version: 9
run_install: true
- name: Check code
run: yarn tsc --noEmit
run: pnpm tsc --noEmit

rspec-test:
name: RSpec
Expand All @@ -86,20 +74,14 @@ jobs:
- uses: actions/checkout@v1
- name: Install system dependencies
run: sudo apt-get install -y libpq-dev libvips42
- uses: pnpm/action-setup@v4
with:
version: 9
run_install: true
- uses: ruby/setup-ruby@v1
with:
ruby-version: ${{ matrix.ruby }}
bundler-cache: true
- name: Node modules cache
uses: actions/cache@v3
with:
path: node_modules
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install Node modules
run: |
yarn install
- name: Create database
env:
RAILS_ENV: test
Expand Down
925 changes: 0 additions & 925 deletions .yarn/releases/yarn-4.4.0.cjs

This file was deleted.

7 changes: 0 additions & 7 deletions .yarnrc.yml

This file was deleted.

6 changes: 3 additions & 3 deletions Procfile.dev
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
js: yarn build --watch
tsc: yarn tsc --watch
css: yarn build:css --watch
js: pnpm build --watch
tsc: pnpm tsc --watch
css: pnpm build:css --watch
2 changes: 1 addition & 1 deletion app/assets/builds/pages_core/admin-dist.js

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions app/assets/builds/pages_core/admin-dist.js.map

Large diffs are not rendered by default.

Loading

0 comments on commit fc359e9

Please sign in to comment.