license to open source #187
This file contains hidden or 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: Service Config-leader CI | |
on: | |
pull_request: | |
branches: | |
- '*' | |
push: | |
branches: | |
- master | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [18.14.2] | |
steps: | |
- name: Install `just` | |
uses: extractions/setup-just@v1 | |
- name: Download master branch | |
uses: actions/checkout@v2 | |
- name: Install Node.js with version ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install dependencies | |
run: just install-stable | |
- name: Lint | |
run: just lint | |
- name: Test | |
run: IS_CI=true just test |