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

chore: use pnpm and sn-gh-workflows v2 #232

Merged
merged 3 commits into from
Feb 13, 2024
Merged
Show file tree
Hide file tree
Changes from all 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
3 changes: 2 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ 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}}
enell marked this conversation as resolved.
Show resolved Hide resolved
api_specification_path: api-specifications/properties.json
2 changes: 1 addition & 1 deletion .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1 +1 @@
yarn commitlint --edit $1
pnpm commitlint --edit $1
3 changes: 2 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ core
dist/
node_modules
api-specifications/properties.json
yarn.lock
pnpm-lock.yaml
commit-msg
*.html
*.png
*.qext
Expand Down
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
Loading