Merge pull request #136 from kouts/dev-next #20
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: pr-next | |
on: | |
push: | |
branches: [next] | |
jobs: | |
ci: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest] | |
node: [20] | |
steps: | |
- name: Checkout 🛎 | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Setup node env 🏗 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node }} | |
check-latest: true | |
- name: Install dependencies 📦 | |
run: npm install | |
- name: Install semantic-release extra plugins 📦 | |
run: npm install --save-dev @semantic-release/changelog @semantic-release/git | |
- name: Run linter 👀 | |
run: npm run lint-fix | |
- name: Run tests 🧪 | |
run: npm run test:unit-coverage --if-present |