This repository has been archived by the owner on Jul 26, 2023. It is now read-only.
chore(deps): bump tough-cookie, jsdom and lerna #1266
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: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [ubuntu-latest, windows-latest, macOS-latest] | |
node-version: [12.x] | |
timeout-minutes: 30 | |
steps: | |
- uses: actions/checkout@v3.0.2 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v2.5.1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Get npm cache directory | |
id: npm-cache | |
run: | | |
echo "::set-output name=dir::$(npm config get cache)" | |
- uses: actions/cache@v2.1.7 | |
with: | |
path: ${{ steps.npm-cache.outputs.dir }} | |
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} | |
restore-keys: | | |
${{ runner.os }}-node- | |
- name: Install npm dependencies | |
run: | | |
npm ci | |
- name: Lint | |
run: | | |
npm run lint | |
- name: Build | |
run: | | |
npm run build | |
- name: Test | |
run: | | |
npm test | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v3.1.0 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
build-docs: | |
runs-on: ubuntu-latest | |
timeout-minutes: 30 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3.0.2 | |
- name: Setup Node 12 | |
uses: actions/setup-node@v2.5.1 | |
with: | |
node-version: '12' | |
- name: Cache .npm directory | |
uses: actions/cache@v2.1.7 | |
with: | |
path: ~/.npm | |
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} | |
restore-keys: | | |
${{ runner.os }}-node- | |
- name: Install npm dependencies | |
run: | | |
npm ci | |
- name: Build | |
run: | | |
npm run docs:build |