Merge pull request #300 from Project-Env/dependabot/npm_and_yarn/npm-… #661
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: Build | |
on: | |
push: | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: [macos-13, macos-latest, windows-latest, ubuntu-latest] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/cache@v4 | |
with: | |
path: node_modules | |
key: ${{ runner.os }}-nodemodules-${{ hashFiles('package.json') }} | |
restore-keys: ${{ runner.os }}-nodemodules | |
- uses: Project-Env/[email protected] | |
- run: npm install | |
- run: npm test |