Skip to content

fix: module not found in @scaleleap/amazon-marketplaces #3203

fix: module not found in @scaleleap/amazon-marketplaces

fix: module not found in @scaleleap/amazon-marketplaces #3203

Workflow file for this run

name: Pull Requests
env:
CI: "true"
on:
pull_request:
jobs:
test:
name: Node ${{ matrix.node }} and ${{ matrix.os }}
runs-on: ubuntu-latest
strategy:
matrix:
node:
- 14
- 16
- 18
os:
- ubuntu-latest
- macOS-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Cache node modules
uses: actions/cache@v3
env:
cache-name: cache-node-modules
with:
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- name: install
run: npm ci
- name: lint
run: npm run lint
- name: test
run: npm test
- name: build
run: npm run build
- name: API Extractor
run: npm run api-extractor