fix: update header (#346) #1088
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: CI | |
on: | |
pull_request: | |
push: | |
branches: | |
- master | |
jobs: | |
test: | |
name: Lint & Test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- name: Install Packages | |
# Solution to solve the problem with older version package | |
# that fails on git checkout with ssh | |
run: | | |
git config --global url."https://".insteadOf git:// | |
git config --global url."https://".insteadOf git+https:// | |
git config --global url."https://".insteadOf ssh://git | |
npm ci | |
- name: Check Snyk | |
uses: snyk/actions/node@master | |
continue-on-error: true | |
env: | |
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} | |
- name: Check Lint | |
run: npm run lint | |
- name: Check Type | |
run: npm run lint:type | |
- name: Test | |
run: npm run test | |
- name: Build | |
run: npm run build | |
- name: Integration Test | |
run: npm run integration:ci |