up workflows

This commit is contained in:
Vitaly Turovsky 2025-02-06 08:47:12 +03:00
commit 1b7ccbd77f
4 changed files with 22 additions and 5 deletions

View file

@ -16,6 +16,12 @@ jobs:
- uses: actions/checkout@v2
with:
ref: refs/pull/${{ github.event.issue.number }}/head
- uses: actions/setup-node@v4
with:
node-version: 22
- name: Install pnpm
uses: pnpm/action-setup@v4
- run: pnpm install
- run: pnpm lint --fix
- name: Push Changes
uses: ad-m/github-push-action@master

View file

@ -16,8 +16,13 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
- uses: actions/setup-node@v4
with:
node-version: 22
- name: Install pnpm
uses: pnpm/action-setup@v4
- name: Install Global Dependencies
run: npm install --global vercel pnpm@9.0.4
run: pnpm add -g vercel
- name: Pull Vercel Environment Information
run: vercel pull --yes --environment=preview --token=${{ secrets.VERCEL_TOKEN }}
- name: Write Release Info

View file

@ -46,13 +46,14 @@ jobs:
with:
ref: refs/pull/${{ github.event.pull_request.number }}/head
- run: npm i -g pnpm@9.0.4
- uses: actions/setup-node@v4
with:
node-version: 18
node-version: 22
cache: "pnpm"
- name: Install pnpm
uses: pnpm/action-setup@v4
- name: Install Global Dependencies
run: npm install --global vercel
run: pnpm add -g vercel
- name: Pull Vercel Environment Information
run: vercel pull --yes --environment=preview --token=${{ secrets.VERCEL_TOKEN }}
- name: Write Release Info

View file

@ -13,8 +13,13 @@ jobs:
steps:
- name: Checkout repository
uses: actions/checkout@master
- uses: actions/setup-node@v4
with:
node-version: 22
- name: Install pnpm
run: npm i -g vercel pnpm@9.0.4
uses: pnpm/action-setup@v4
- name: Install Global Dependencies
run: pnpm add -g vercel
# - run: pnpm install
# - run: pnpm build
- run: vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }}