Skip to content

Commit

Permalink
test: add workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
BatuhanW committed Jul 10, 2024
1 parent 9a92a97 commit 83e4328
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 1 deletion.
31 changes: 31 additions & 0 deletions .github/workflows/temp-workflow.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
on:
push:
branches:
- chore-test-pnpm-lock-fix

jobs:
temp_test:
permissions:
contents: write
id-token: write
issues: read
pull-requests: write
runs-on: ubuntu-latest
concurrency:
group: ${{ github.ref }}-temp-test
cancel-in-progress: true
steps:
- uses: actions/checkout@v3
with:
token: ${{ secrets.PANKOD_BOT_TOKEN }}
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
with:
node-version: 18
cache: "pnpm"
- name: Install Dependencies & Build
run: pnpm install
- name: Version Packages
run: pnpm version-packages
env:
GITHUB_TOKEN: ${{ secrets.PANKOD_BOT_TOKEN }}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"test:all": "lerna run test --stream --scope @refinedev/* --scope create-refine-app",
"test:all:coverage": "pnpm test:all -- -- --coverage",
"test:coverage": "pnpm test -- -- --coverage",
"version-packages": "pnpm changeset version && pnpm i --ignore-scripts --lockfile-only --no-frozen-lockfile && git add pnpm-lock.yaml"
"version-packages": "pnpm changeset version && pnpm i --ignore-scripts --lockfile-only --no-frozen-lockfile && git add pnpm-lock.yaml && git status"
},
"lint-staged": {
"*.{js,jsx,ts,tsx,json}": [
Expand Down

0 comments on commit 83e4328

Please sign in to comment.