Skip to content
This repository has been archived by the owner on Apr 23, 2024. It is now read-only.

Commit

Permalink
chore: use pnpm and sn-gh-workflows v2
Browse files Browse the repository at this point in the history
  • Loading branch information
haxxmaxx committed Feb 2, 2024
1 parent 94c7c04 commit 2d4f345
Show file tree
Hide file tree
Showing 7 changed files with 11,273 additions and 11,125 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ on:

jobs:
build:
uses: qlik-oss/sn-gh-workflows/.github/workflows/build.yaml@v1
uses: qlik-oss/sn-gh-workflows/.github/workflows/build.yaml@v2
secrets: inherit
with:
release: ${{ inputs.release || false}}
2 changes: 1 addition & 1 deletion .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

yarn commitlint --edit $1
pnpm commitlint --edit $1
4 changes: 2 additions & 2 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ core
dist/
node_modules
api-specifications/properties.json
yarn.lock
pnpm-lock.yaml
commit-msg
*.html
*.png
*.qext
*.qvf
*.sh
coverage
test/cc-bin
test/cc-bin
2 changes: 1 addition & 1 deletion docs/release.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ A release consists of the following:

## Step-By-Step

1. On master branch run `git clean -dfx && yarn` to make sure depenencies are up-to-date
1. On master branch run `git clean -dfx && pnpm install` to make sure depenencies are up-to-date
2. Run `npm version [major | minor | patch] -m "chore(release): v%s"`. Use semver string based on conventional commits since last release. Ex: `npm version patch -m "chore(release): v%s"`
3. Run `git push && git push --tags` to push commit and tag.

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
"start": "nebula serve --type mekkochart",
"test:unit": "jest",
"validate:locale": "node ./tools/validate-locale-strings.js",
"preversion": "yarn build",
"version": "yarn spec && git add api-specifications"
"preversion": "pnpm build",
"version": "pnpm spec && git add api-specifications"
},
"prettier": "@qlik/prettier-config",
"eslintConfig": {
Expand Down
Loading

0 comments on commit 2d4f345

Please sign in to comment.