Skip to content

create MOVED message #718

create MOVED message

create MOVED message #718

Workflow file for this run

name: validate
on:
# run on push but only for the main branch
push:
branches:
- main
# run for every pull request
pull_request: {}
jobs:
main:
runs-on: ubuntu-latest
steps:
- name: ⬇️ Checkout repo
uses: actions/checkout@v4
with:
ref: ${{github.event.pull_request.head.sha}}
fetch-depth: 0
- name: 🤝 Set Node version from .nvmrc
run: echo NVMRC=`cat .nvmrc` >> $GITHUB_ENV
- name: ⎔ Setup node
uses: actions/setup-node@v2
with:
node-version: ${{ env.NVMRC }}
- name: 📥 Download deps
uses: bahmutov/npm-install@v1
with:
useLockFile: false
- name: ▶️ Run validate script
run: npm run validate
- name: 👕 Lint commit messages
uses: wagoid/commitlint-github-action@v4
- name: ⬆️ Upload coverage report
uses: codecov/codecov-action@v2