Skip to content

Commit

Permalink
Switch to using yarn (#25)
Browse files Browse the repository at this point in the history
  • Loading branch information
dkhalife authored Jan 16, 2025
1 parent f0088b7 commit c9eb7a0
Show file tree
Hide file tree
Showing 6 changed files with 3,534 additions and 7,182 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
push:
branches: [ "main", "develop" ]
pull_request:
branches: [ "main", "develop", "workflows/*" ]
branches: [ "main", "develop" ]

jobs:
build:
Expand All @@ -22,8 +22,8 @@ jobs:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Install dependencies
run: npm i
- run: npm run build
run: yarn install --frozen-lockfile
- run: yarn build

lint:
runs-on: ubuntu-latest
Expand All @@ -35,5 +35,5 @@ jobs:
node-version: 22
cache: 'npm'
- name: Install dependencies
run: npm i
- run: npm run lint
run: yarn install --frozen-lockfile
- run: yarn lint
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,13 @@ jobs:
node-version: 22.x
cache: 'npm'
- name: Install dependencies
run: npm ci
run: yarn install --frozen-lockfile
- name: Bump version
run: |
git config user.name "github-actions"
git config user.email "[email protected]"
npm version patch
- name: Build
run: npm run build
run: yarn build
- name: Push changes
run: git push origin develop --tags
25 changes: 2 additions & 23 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,26 +1,5 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*
lerna-debug.log*

node_modules
dist
dist-ssr
*.local

# Editor directories and files
.vscode/*
!.vscode/extensions.json
.idea
.DS_Store
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?

resources/android/**/*
dist
node_modules
Loading

0 comments on commit c9eb7a0

Please sign in to comment.