chore: add shipjs missing devDep π€·ββοΈ #12
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: 'Continuous Integration' | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
permissions: | |
checks: write | |
contents: read | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository π | |
uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.event.pull_request.head.sha }} | |
- name: Setup node env π¦ | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: '.nvmrc' | |
check-latest: true | |
cache: 'npm' | |
- name: Install dependencies π | |
run: npm ci --prefer-offline --no-audit | |
- name: Run linter(s) π | |
uses: wearerequired/lint-action@v2 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
git_name: github-actions[bot] | |
git_email: github-actions[bot]@users.noreply.github.com | |
auto_fix: false | |
continue_on_error: false | |
neutral_check_on_warning: true | |
eslint: true | |
eslint_extensions: js,cjs,mjs,ts | |
prettier: true | |
prettier_extensions: js,cjs,mjs,ts | |
- name: Build the package π | |
run: npm run build | |
- name: Run tests π§ͺ | |
run: npm run test |