Skip to content

Commit

Permalink
ci(pull request): added additional pull request checks (#14)
Browse files Browse the repository at this point in the history
  • Loading branch information
SSouik authored Apr 16, 2022
1 parent ca3ad63 commit 6d372ec
Showing 1 changed file with 35 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
name: Version Check
name: Pull Request Checks

on:
pull_request:
branches:
- 'main'
paths-ignore:
- 'README.md'
- '.github/**'
jobs:
Check:
version-check:
runs-on: ubuntu-latest
steps:
- name: Checkout the source code
Expand All @@ -28,3 +29,35 @@ jobs:
- name: Success
if: steps.check.outputs.changed == 'true'
run: 'echo "Version change found. New version: ${{ steps.check.outputs.version }} (${{ steps.check.outputs.type }})"'

lint:
runs-on: ubuntu-latest
steps:
- name: Checkout the source code
uses: actions/checkout@v2
- name: Set up Node
uses: actions/setup-node@v1
with:
node-version: 14.17.0
- name: Install
run: |
yarn install
- name: Lint
run: |
yarn lint
build:
runs-on: ubuntu-latest
steps:
- name: Checkout the source code
uses: actions/checkout@v2
- name: Set up Node
uses: actions/setup-node@v1
with:
node-version: 14.17.0
- name: Install
run: |
yarn install
- name: Build
run: |
yarn build-export

0 comments on commit 6d372ec

Please sign in to comment.