Skip to content

Bump @typescript-eslint/eslint-plugin from 5.61.0 to 6.4.0 #380

Bump @typescript-eslint/eslint-plugin from 5.61.0 to 6.4.0

Bump @typescript-eslint/eslint-plugin from 5.61.0 to 6.4.0 #380

Workflow file for this run

# Copyright 2022 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
name: Run tests
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
name: build and test
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@main
with:
persist-credentials: false
submodules: recursive
- uses: actions/setup-node@v3
with:
node-version: 18
cache: 'npm'
- name: Cache build
id: cache-build
uses: actions/cache@v3
with:
key: build-${{ hashFiles('package-lock.json', 'build-wasm.sh') }}
path: build
- name: install
run: npm install
- if: ${{ steps.cache-build.outputs.cache-hit == 'true' }}
name: build (cached)
run: npm run build-cached
- if: ${{ steps.cache-build.outputs.cache-hit != 'true' }}
name: build
run: npm run build
- uses: browser-actions/setup-chrome@latest
with:
chrome-version: stable
- name: test
run: |
npm run serve &
sleep 5 &&
npm run test
- name: 'Upload test logs'
uses: actions/upload-artifact@v3
if: always()
with:
name: test-logs
path: test/logs/*
retention-days: 5