chore(deps): update dependency pretty-quick to v3.3.1 #917
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: | |
push: | |
branches: [$default-branch] | |
pull_request: | |
branches: ['**'] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: | |
image: node:20.15.0 | |
# this is the user that CI uses, which is needed to generate files within the repo directory | |
options: --user 1001 | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v3 | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20 | |
cache: 'npm' | |
registry-url: 'https://registry.npmjs.org' | |
- name: Install dependencies | |
run: npm ci | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | |
- name: Build | |
run: npm run build | |
- name: Test | |
run: npm run test -- --ci --maxWorkers=1 --reporters=default | |
- name: Check Serverless | |
run: npx serverless package --verbose --stage dev |