Feat/semantic release #6
Workflow file for this run
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: Pull request checks | |
on: [pull_request] | |
jobs: | |
lint: | |
name: Lint | |
runs-on: ubuntu-22.04 | |
strategy: | |
matrix: | |
node: [18, 20] | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node }} | |
- name: Install dependencies | |
run: npm ci | |
- name: Run lint | |
run: npm run test:lint | |
tests: | |
name: Functional Tests | |
runs-on: ubuntu-22.04 | |
strategy: | |
matrix: | |
node: [18, 20] | |
needs: [lint] | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node }} | |
- name: Install kourou | |
run: npm install -g kourou | |
- name: Install dependencies | |
run: npm ci | |
- name: run test | |
run: npm run test:unit | |
- name: functional tests | |
run: bash test/kuzzle-vault-encrypt-string.test.sh |