Skip to content

Commit

Permalink
ci: create pr
Browse files Browse the repository at this point in the history
  • Loading branch information
radoslavirha committed Sep 30, 2023
1 parent 83e30ef commit 452c8ee
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:

jobs:
lint:
name: Lint
runs-on: ubuntu-latest
strategy:
matrix:
Expand All @@ -24,11 +25,12 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
- name: Install modules
- name: Install dependencies
run: pnpm install
- name: Lint workspaces
run: pnpm lint
test:
name: Test
runs-on: ubuntu-latest
strategy:
matrix:
Expand All @@ -45,7 +47,7 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
- name: Install modules
- name: Install dependencies
run: pnpm install
- name: Test workspaces
run: pnpm test
29 changes: 29 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Release

on:
push:
branches:
- main

concurrency: ${{ github.workflow }}-${{ github.ref }}

jobs:
release:
name: Release
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: yarn
- name: Create Release Pull Request
uses: changesets/action@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 452c8ee

Please sign in to comment.