-
Notifications
You must be signed in to change notification settings - Fork 0
Transform to minimal ObjectStack plugin starter template #18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -19,35 +19,21 @@ jobs: | |||||
| uses: actions/setup-node@v4 | ||||||
| with: | ||||||
| node-version: '20.x' | ||||||
|
|
||||||
| - name: Setup pnpm | ||||||
| uses: pnpm/action-setup@v4 | ||||||
| with: | ||||||
| version: 9 | ||||||
|
|
||||||
| - name: Get pnpm store directory | ||||||
| shell: bash | ||||||
| run: | | ||||||
| echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV | ||||||
|
|
||||||
| - name: Setup pnpm cache | ||||||
| uses: actions/cache@v4 | ||||||
| with: | ||||||
| path: ${{ env.STORE_PATH }} | ||||||
| key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} | ||||||
| restore-keys: | | ||||||
| ${{ runner.os }}-pnpm-store- | ||||||
| cache: 'npm' | ||||||
|
|
||||||
| - name: Install dependencies | ||||||
| run: pnpm install --frozen-lockfile | ||||||
| run: npm ci | ||||||
|
||||||
| run: npm ci | |
| run: npm install |
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -23,38 +23,20 @@ jobs: | |||||
| uses: actions/setup-node@v4 | ||||||
| with: | ||||||
| node-version: '20.x' | ||||||
|
|
||||||
| - name: Setup pnpm | ||||||
| uses: pnpm/action-setup@v4 | ||||||
| with: | ||||||
| version: 9 | ||||||
|
|
||||||
| - name: Get pnpm store directory | ||||||
| shell: bash | ||||||
| run: | | ||||||
| echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV | ||||||
|
|
||||||
| - name: Setup pnpm cache | ||||||
| uses: actions/cache@v4 | ||||||
| with: | ||||||
| path: ${{ env.STORE_PATH }} | ||||||
| key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }} | ||||||
| restore-keys: | | ||||||
| ${{ runner.os }}-pnpm-store- | ||||||
| cache: 'npm' | ||||||
|
|
||||||
| - name: Install dependencies | ||||||
| run: pnpm install --frozen-lockfile | ||||||
| run: npm ci | ||||||
|
||||||
| run: npm ci | |
| run: npm install |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,48 +1,37 @@ | ||
| # Dependencies | ||
| node_modules/ | ||
| npm-debug.log* | ||
| yarn-debug.log* | ||
| yarn-error.log* | ||
| pnpm-debug.log* | ||
| pnpm-lock.yaml | ||
| package-lock.json | ||
| yarn.lock | ||
|
|
||
| # Build outputs | ||
| dist/ | ||
| build/ | ||
| *.tsbuildinfo | ||
|
|
||
| # TypeScript build artifacts in root (if any) | ||
| /*.js | ||
| /*.js.map | ||
| /*.d.ts | ||
| /*.d.ts.map | ||
|
|
||
| # Environment files | ||
| .env | ||
| .env.local | ||
| .env.*.local | ||
|
|
||
| # IDE | ||
| .vscode/ | ||
| # Editor directories and files | ||
| .vscode/* | ||
| !.vscode/extensions.json | ||
| !.vscode/settings.json | ||
| .idea/ | ||
| *.swp | ||
| *.swo | ||
| *~ | ||
|
|
||
| # OS | ||
| .DS_Store | ||
| Thumbs.db | ||
|
|
||
| # Logs | ||
| logs/ | ||
| *.log | ||
| npm-debug.log* | ||
| pnpm-debug.log* | ||
|
|
||
| # Test coverage | ||
| # Testing | ||
| coverage/ | ||
| .nyc_output/ | ||
|
|
||
| # Temporary files | ||
| tmp/ | ||
| temp/ | ||
| *.tmp | ||
| .temp/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The CI workflow installs dependencies with
npm ci, but the repository ignorespackage-lock.jsonin.gitignore, so no lockfile will be committed andnpm ciwill fail. Either switch this step tonpm installor stop ignoringpackage-lock.jsonand commit a lockfile sonpm cihas the required input.