Skip to content

Commit

Permalink
fix: reduce the size of the bundle
Browse files Browse the repository at this point in the history
By using pnpm
  • Loading branch information
aminya committed Jul 19, 2021
1 parent 38ed634 commit 83fbf5e
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 32 deletions.
28 changes: 18 additions & 10 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,18 @@ jobs:

- uses: actions/setup-node@v2
with:
node-version: "12.x"
node-version: 12

- name: Install dependencies
- uses: pnpm/action-setup@master
with:
version: latest

- name: Test production installation
run: apm install --production

- name: Build
run: |
apm install --production
npm install --only=dev
pnpm install
./node_modules/.bin/atom-package-deps .
- name: Run tests 👩🏾‍💻
Expand Down Expand Up @@ -71,16 +77,18 @@ jobs:
- uses: atom-community/action-setup-atom@v1
- uses: actions/setup-node@v2
with:
node-version: "12.x"
node-version: 12

- name: NPM install
run: npm install
- uses: pnpm/action-setup@master
with:
version: latest

- name: Build and Commit
run: |
npm run clean
npm run get.servers
npm run build-commit
pnpm install
pnpm run clean
pnpm run get.servers
pnpm run build-commit
- name: Release 🎉
uses: cycjimmy/semantic-release-action@v2
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@
"decompress-tarxz": "^3.0.0",
"eslint-config-atomic": "^1.16.2",
"gitly": "^2.1.2",
"parcel": "^2.0.0-beta.3.1",
"parcel": "2.0.0-beta.3.1",
"prettier-config-atomic": "^2.0.5",
"shx": "0.3.3",
"terser-config-atomic": "^0.1.1",
Expand Down
26 changes: 5 additions & 21 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 83fbf5e

Please sign in to comment.