Skip to content

Commit

Permalink
Update release.yml to use pnpm instead of yarn and ignore pnpm-lock.y…
Browse files Browse the repository at this point in the history
…aml in biome.json files
  • Loading branch information
Royal-lobster committed Aug 30, 2024
1 parent 04af0ac commit a7c5292
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 75 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,13 @@ jobs:
node-version: 18.x

- name: Install Dependencies
run: yarn
run: pnpm

- name: Create Release Pull Request or Publish to npm
id: changesets
uses: changesets/action@v1
with:
publish: yarn release
publish: pnpm release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
32 changes: 0 additions & 32 deletions .github/workflows/snapshot.yml

This file was deleted.

4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ Thumbs.db
# Ignore built ts files
dist/**/*

# ignore yarn.lock
yarn.lock
# ignore pnpm-lock.yaml
pnpm-lock.yaml
package-lock.json

# ignore .vscode folder
Expand Down
78 changes: 39 additions & 39 deletions biome.json
Original file line number Diff line number Diff line change
@@ -1,41 +1,41 @@
{
"$schema": "https://biomejs.dev/schemas/1.8.3/schema.json",
"organizeImports": {
"enabled": false
},
"files": {
"ignore": ["**/node_modules", "dist", "yarn.lock", ".vscode/"]
},
"formatter": {
"enabled": true,
"formatWithErrors": false,
"indentStyle": "space",
"lineWidth": 80
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"correctness": {
"noUnusedVariables": "error"
},
"performance": {
"noDelete": "off"
},
"style": {
"noNonNullAssertion": "off",
"useShorthandArrayType": "error"
},
"suspicious": {
"noArrayIndexKey": "off",
"noExplicitAny": "off"
}
}
},
"javascript": {
"formatter": {
"quoteStyle": "single",
"semicolons": "asNeeded"
}
}
"$schema": "https://biomejs.dev/schemas/1.8.3/schema.json",
"organizeImports": {
"enabled": false
},
"files": {
"ignore": ["**/node_modules", "dist", "pnpm-lock.yaml", ".vscode/"]
},
"formatter": {
"enabled": true,
"formatWithErrors": false,
"indentStyle": "space",
"lineWidth": 80
},
"linter": {
"enabled": true,
"rules": {
"recommended": true,
"correctness": {
"noUnusedVariables": "error"
},
"performance": {
"noDelete": "off"
},
"style": {
"noNonNullAssertion": "off",
"useShorthandArrayType": "error"
},
"suspicious": {
"noArrayIndexKey": "off",
"noExplicitAny": "off"
}
}
},
"javascript": {
"formatter": {
"quoteStyle": "single",
"semicolons": "asNeeded"
}
}
}

0 comments on commit a7c5292

Please sign in to comment.