Merge pull request #626 from fobo66/renovate/eslint-8.x #1106
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
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node | |
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions | |
name: Tests | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
tests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Bun | |
uses: oven-sh/setup-bun@v1 | |
with: | |
bun-version: "1.0.0" | |
- name: Cache | |
uses: actions/cache@v3.3.2 | |
with: | |
# A list of files, directories, and wildcard patterns to cache and restore | |
path: node_modules | |
# An explicit key for restoring and saving the cache | |
key: v1 | |
- run: bun install | |
- run: bun run lint | |
- run: bun test |