Skip to content
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

(feat: M2-7012) Conditional logic improvements #528

Merged
merged 21 commits into from
Aug 30, 2024
Merged
Show file tree
Hide file tree
Changes from 19 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 28 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,22 @@ jobs:
~/node_modules
key: ${{ runner.os }}-node-modules-${{ hashFiles('**/yarn.lock') }}

- run: yarn install --frozen-lockfile
- name: Remove .yarnrc file to avoid conflicts
run: rm -rf .yarnrc

- name: Enable Corepack
run: corepack enable

- name: Prepare and activate Yarn version 1.22.22
run: corepack prepare [email protected] --activate

- name: Verify Yarn version
run: yarn --version

- name: Install dependencies with frozen lockfile
run: yarn install --frozen-lockfile

- uses: wearerequired/lint-action@v2
with:
eslint: true
eslint_extensions: mjs,js,jsx,mts,ts,tsx
prettier: true
prettier_extensions: mjs,js,jsx,mts,ts,tsx
continue_on_error: false
- run: yarn eslint src
tests:
runs-on: ubuntu-latest
steps:
Expand All @@ -39,7 +46,19 @@ jobs:
with:
node-version: ${{ env.NODE_VERSION }}

- name: Install deps
- name: Remove .yarnrc file to avoid conflicts
run: rm -rf .yarnrc

- name: Enable Corepack
run: corepack enable

- name: Prepare and activate Yarn version 1.22.22
run: corepack prepare [email protected] --activate

- name: Verify Yarn version
run: yarn --version

- name: Install dependencies with frozen lockfile
run: yarn install --frozen-lockfile

- uses: actions/cache@v4
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,6 @@ coverage
.env
.env*
!.env.example


.yarn
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,5 +90,6 @@
"vite-plugin-node-stdlib-browser": "^0.2.1",
"vitest": "^1.2.0",
"vitest-canvas-mock": "^0.3.3"
}
},
"packageManager": "[email protected]+sha256.c17d3797fb9a9115bf375e31bfd30058cac6bc9c3b8807a3d8cb2094794b51ca"
}
Loading
Loading