Skip to content

Commit

Permalink
Merge pull request #165 from purple-technology/bump-pnpm
Browse files Browse the repository at this point in the history
build: ⬆️ bump pnpm to version 9
  • Loading branch information
FilipPyrek authored Apr 19, 2024
2 parents b74066d + bb119e7 commit 0f72444
Show file tree
Hide file tree
Showing 6 changed files with 9,813 additions and 6,751 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ jobs:
uses: actions/checkout@v4

- name: Install pnpm
uses: pnpm/action-setup@v2
uses: pnpm/action-setup@v3
with:
version: 8
version: 9

- name: Set up Node.js
uses: actions/setup-node@v4
Expand All @@ -30,10 +30,10 @@ jobs:
- name: Install Dependencies
run: pnpm install

- name: Configure AWS credentials
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: ${{ github.ref == 'refs/heads/master' && 'CHANGE_ME' || 'CHANGE_ME' }}
role-to-assume: ${{ github.ref == 'refs/heads/master' && 'CHANGE_ME' || 'CHANGE_ME' }}
aws-region: eu-central-1 # Is not related to deployment region
role-session-name: CHANGE_ME

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release-prod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ jobs:
uses: actions/checkout@v4

- name: Install pnpm
uses: pnpm/action-setup@v2
uses: pnpm/action-setup@v3
with:
version: 8
version: 9

- name: Set up Node.js
uses: actions/setup-node@v4
Expand Down Expand Up @@ -50,6 +50,6 @@ jobs:
-f tag_name="v$(cat version.txt)" \
-f target_commitish=${{github.ref}} \
-f name="Production v$(cat version.txt)" \
-F generate_release_notes=true
-F generate_release_notes=true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
8 changes: 4 additions & 4 deletions .github/workflows/remove.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@ permissions:
jobs:
deploy:
# We don't want to remove protected deployment
if: github.ref_protected == false
if: github.ref_protected == false
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4

- name: Install pnpm
uses: pnpm/action-setup@v2
uses: pnpm/action-setup@v3
with:
version: 8
version: 9

- name: Set up Node.js
uses: actions/setup-node@v4
Expand All @@ -28,7 +28,7 @@ jobs:
- name: Install Dependencies
run: pnpm install

- name: Configure AWS credentials
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: ${{ github.ref == 'refs/heads/master' && 'CHANGE_ME' || 'CHANGE_ME' }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ jobs:
fetch-depth: 0 # In order for commitlint to check historic commits

- name: Install pnpm
uses: pnpm/action-setup@v2
uses: pnpm/action-setup@v3
with:
version: 8
version: 9

- name: Set up Node.js
uses: actions/setup-node@v4
Expand All @@ -36,10 +36,10 @@ jobs:
- name: Code Lint
run: pnpm run lint

- name: Configure AWS credentials
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: ${{ github.ref == 'refs/heads/master' && 'CHANGE_ME' || 'CHANGE_ME' }}
role-to-assume: ${{ github.ref == 'refs/heads/master' && 'CHANGE_ME' || 'CHANGE_ME' }}
aws-region: eu-central-1 # Is not related to deployment region
role-session-name: CHANGE_ME

Expand Down
36 changes: 18 additions & 18 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"type": "module",
"engines": {
"node": "20.x",
"pnpm": "8.x"
"pnpm": "9.x"
},
"scripts": {
"env": "env-cmd -f ./.env bash -c \"ssocreds -p \\$AWS_PROFILE\" && env-cmd -f ./.env",
Expand All @@ -31,34 +31,34 @@
"*.{graphql,gql,html,json}": "prettier --write"
},
"devDependencies": {
"semantic-release": "^23.0.0",
"@commitlint/cli": "^18.5.0",
"@commitlint/config-conventional": "^18.5.0",
"@commitlint/cli": "^18.6.1",
"@commitlint/config-conventional": "^18.6.3",
"@microsoft/eslint-plugin-sdl": "^0.2.2",
"@purple/serverless-git-branch-stage-plugin": "^1.3.2",
"@tsconfig/node20": "^20.1.2",
"@types/node": "^20.11.5",
"@typescript-eslint/eslint-plugin": "^6.19.1",
"@typescript-eslint/parser": "^6.19.1",
"@vitest/coverage-v8": "^1.2.1",
"@tsconfig/node20": "^20.1.4",
"@types/node": "^20.12.7",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"@vitest/coverage-v8": "^1.5.0",
"aws-cdk-lib": "2.110.1",
"aws-sso-creds-helper": "^1.12.0",
"constructs": "10.3.0",
"env-cmd": "^10.1.0",
"eslint": "^8.56.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react": "^7.34.1",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-security": "^2.1.0",
"eslint-plugin-security": "^2.1.1",
"eslint-plugin-simple-import-sort": "^10.0.0",
"husky": "^8.0.3",
"lint-staged": "^15.2.0",
"prettier": "^3.0.3",
"prettier-plugin-tailwindcss": "^0.5.11",
"sst": "^2.39.7",
"typescript": "^5.3.3",
"vitest": "^1.2.1"
"lint-staged": "^15.2.2",
"prettier": "^3.2.5",
"prettier-plugin-tailwindcss": "^0.5.14",
"semantic-release": "^23.0.8",
"sst": "^2.41.4",
"typescript": "^5.4.5",
"vitest": "^1.5.0"
}
}
Loading

0 comments on commit 0f72444

Please sign in to comment.