Skip to content

chore(deps): update dependency svelte-check to v3.6.9 - autoclosed #808

chore(deps): update dependency svelte-check to v3.6.9 - autoclosed

chore(deps): update dependency svelte-check to v3.6.9 - autoclosed #808

Workflow file for this run

# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created
# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages
name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
test:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
matrix:
os:
- ubuntu-latest
node-version:
- 16
- 18
- 19
steps:
- name: Git Checkout
uses: actions/checkout@v3
with:
submodules: "recursive"
- name: Get Cache Dir
id: yarn-cache-dir
run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT
- name: Use Cache
uses: actions/cache@v3
id: yarn-cache
with:
path: ${{ steps.yarn-cache-dir.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: "yarn"
- name: Install Deps
run: yarn install --immutable
- name: Run Build
run: yarn build
- name: Run Test
run: yarn coverage
- name: Upload to Codecov
uses: codecov/codecov-action@v3
if: matrix.node-version == 16 && matrix.os == 'ubuntu-latest'
with:
fail_ci_if_error: false