Skip to content

Commit

Permalink
move to pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
beerinho committed Jan 31, 2025
1 parent 601676b commit 5ff2f5d
Show file tree
Hide file tree
Showing 5 changed files with 7,429 additions and 6,420 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,14 @@ jobs:

steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v3
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}

- run: yarn install
- run: yarn lint
- run: yarn test --coverage
- run: pnpm install
- run: pnpm lint
- run: pnpm test --coverage

release:
name: Release
Expand All @@ -42,12 +43,13 @@ jobs:

steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v3
- uses: actions/setup-node@v4
with:
node-version: 12
registry-url: 'https://registry.npmjs.org'

- run: yarn install --frozen-lockfile
- run: pnpm install --frozen-lockfile

- run: npx auto-dist-tag@1 --write

Expand Down
5 changes: 0 additions & 5 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# Runtime data
pids
Expand Down Expand Up @@ -54,9 +52,6 @@ typings/
# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env

Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
"ember-intl-analyzer": "bin/cli.js"
},
"scripts": {
"preinstall": "npx only-allow pnpm",
"changelog": "lerna-changelog",
"release": "release-it",
"lint": "eslint . --cache",
Expand Down
Loading

0 comments on commit 5ff2f5d

Please sign in to comment.