Update dependency @types/node to v18.19.47 #760
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: CI | |
on: | |
push: | |
branches: [$default-branch] | |
pull_request: | |
branches: ['**'] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
container: | |
image: node:20.3.1 | |
# 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: 18 | |
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 |