Skip to content

Commit

Permalink
ci: update actions ci and release
Browse files Browse the repository at this point in the history
  • Loading branch information
castrogarciajs committed May 26, 2024
1 parent 9013b55 commit 280426a
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 15 deletions.
20 changes: 12 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,20 @@ jobs:

steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v3
with:
version: 9.1.1

- name: Set node ${{ matrix.node }}
- name: Install pnpm
uses: pnpm/action-setup@v3

- name: Set node ${{ matrix.node_version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
node-version: ${{ matrix.node_version }}
cache: pnpm

- run: corepack enable pnpm
- run: pnpm install
- run: pnpm run lint
- run: corepack enable

- name: Install
run: pnpm install

- name: Run linter
run: pnpm run lint
20 changes: 13 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,20 +10,26 @@ permissions: write-all

jobs:
release:
name: Release
runs-on: ubuntu-latest
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]

steps:
- name: Checkout Repo
uses: actions/checkout@v3
- uses: pnpm/action-setup@v3
with:
version: 9.1.1

- uses: actions/setup-node@v3
- name: Install pnpm
uses: pnpm/action-setup@v3

- name: Set node ${{ matrix.node_version }}
uses: actions/setup-node@v3
with:
node-version: 20.x
node-version: ${{ matrix.node_version }}
cache: pnpm

- run: corepack enable

- name: Install Dependencies
run: pnpm install

Expand Down

0 comments on commit 280426a

Please sign in to comment.