This repository has been archived by the owner on Nov 2, 2024. It is now read-only.
Update Development Dependency "rimraf" to v6 #513
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: Tests (PR) | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
run-tests: | |
name: Test Pull Request | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: "18" | |
- name: Cache NPM | |
uses: actions/cache@v4 | |
with: | |
path: ~/.npm | |
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} | |
restore-keys: | | |
${{ runner.os }}-node- | |
- name: Install Dependencies | |
run: npm ci | |
- name: Lint Code | |
run: npm run lint | |
- name: Build Code | |
run: npm run build |