Skip to content

Commit

Permalink
build: migrate from Yarn to NPM
Browse files Browse the repository at this point in the history
  • Loading branch information
xel1045 committed Feb 23, 2024
1 parent 4c9e887 commit e96a8d1
Show file tree
Hide file tree
Showing 7 changed files with 9,453 additions and 8,634 deletions.
9 changes: 2 additions & 7 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,7 @@ jobs:
- name: Checkout code
uses: actions/checkout@v2

- name: Setup Yarn
run: |
corepack enable yarn
corepack prepare yarn@stable --activate
- name: Install and build assets
run: |
yarn install
yarn run production
npm install
npm run production
9 changes: 0 additions & 9 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,3 @@
Gemfile.lock
mix-manifest.json
Thumbs.db

# Yarn
.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions
1 change: 0 additions & 1 deletion .yarnrc.yml

This file was deleted.

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ This plugin version is compatible only with Redmine 3.4 and later.
2. In the directory `#{REDMINE_ROOT}/plugins/redmine_pulls`, compile the assets:

```bash
yarn install
yarn production
npm install
npm run production
```

2. Restart Redmine.
Expand Down
Loading

0 comments on commit e96a8d1

Please sign in to comment.