Skip to content

Commit

Permalink
ci(workflow): update workflow (#133)
Browse files Browse the repository at this point in the history
  • Loading branch information
Cphayim committed Feb 27, 2024
1 parent 0a1736c commit 8b5b223
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,11 @@ jobs:

strategy:
matrix:
node-version: [16]
node-version: [18]

steps:
- uses: actions/checkout@v2
- name: Checkout
uses: actions/checkout@v4

- name: Install SSH key
uses: shimataro/ssh-key-action@v2
Expand All @@ -29,12 +30,11 @@ jobs:
known_hosts: ${{ secrets.VRN_REMOTE_SERVER_SSH_KNOWN_HOSTS }}
config: ${{ secrets.VRN_REMOTE_SERVER_SSH_CONFIG }}

- uses: pnpm/action-setup@v2.0.1
with:
version: 6.28.0
- name: Setup pnpm
uses: pnpm/action-setup@v2

- name: Install Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@ jobs:
eslint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Checkout
uses: actions/checkout@v4

- uses: pnpm/action-setup@v2.0.1
with:
version: 6.28.0
- name: Setup pnpm
uses: pnpm/action-setup@v2

- uses: actions/setup-node@v2
- uses: actions/setup-node@v3
with:
node-version: 16
node-version: 18
cache: 'pnpm'

- name: Install dependencies
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"engines": {
"node": ">=16.14.0"
},
"packageManager": "pnpm@6.28.0",
"packageManager": "pnpm@8.12.0",
"scripts": {
"preinstall": "npx only-allow pnpm",
"prepare": "husky install",
Expand Down

0 comments on commit 8b5b223

Please sign in to comment.