diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a44673b6..adaee956 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,21 +15,24 @@ jobs: node-version: [16, 18, 20] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v3.0.2 - name: Set up Node ${{ matrix.node-version }} - uses: actions/setup-node@v1 + uses: actions/setup-node@v3.1.1 with: node-version: ${{ matrix.node-version }} + cache: 'yarn' + # Useful for caching dependencies in monorepos + cache-dependency-path: yarn.lock - name: Bootstrap run: | yarn bootstrap - npm run build + yarn build - name: Run tests run: | - npm run test ci + yarn test ci - name: Coveralls if: matrix.node-version == 18 diff --git a/.gitignore b/.gitignore index f289fc10..403d01b0 100644 --- a/.gitignore +++ b/.gitignore @@ -1,19 +1,32 @@ +# Yarn +.pnp.* +.yarn/* +!.yarn/patches +!.yarn/plugins +!.yarn/releases +!.yarn/sdks +!.yarn/versions + +*/**/yarn.lock +yarn-error.log +npm-debug.log +report*.json + +# Node modules +node_modules/ + +# Dists dist/* dist-esm/* dist-es6/* **/dist/* -node_modules/ +# Generatred coverage/ .nyc_output/ - .docusaurus -npm-debug.log -*/**/yarn.lock -yarn-error.log -report*.json - +# typescript tsconfig.tsbuildinfo # editor files @@ -23,4 +36,3 @@ tsconfig.tsbuildinfo *.zip *.rar -.reify-cache