Skip to content

feat: create new ejson_version input and set to latest if is empty #37

feat: create new ejson_version input and set to latest if is empty

feat: create new ejson_version input and set to latest if is empty #37

Workflow file for this run

name: Pull Request
on:
pull_request:
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install NodeJS
uses: actions/setup-node@v3
with:
node-version: "18"
- name: Install dependencies
run: npm install
- name: Lint
run: npm run lint
# test:
# name: Test
# runs-on: ubuntu-latest
# steps:
# - name: Checkout
# uses: actions/checkout@v4
# - name: Install NodeJS
# uses: actions/setup-node@v3
# with:
# node-version: "20"
# - name: Install dependencies
# run: npm install
# - name: Execute tests
# run: npm run test
commit_lint:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
token: "${{ secrets.ACCESS_TOKEN }}"
fetch-depth: 0
- name: Setup Python
uses: actions/setup-python@v4.7.0
with:
python-version: 3.11
- name: Install Commitizen
run: pip install -U commitizen
- name: Check commits
run: cz check --rev-range origin/main..HEAD