chore(release): 1.7.4 #130
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: test | |
on: | |
workflow_dispatch: | |
push: | |
branches: [ main ] | |
tags-ignore: | |
- 'v*' | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Install node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 18.x | |
- name: Cache npm | |
uses: actions/cache@v3 | |
with: | |
path: '**/node_modules' | |
key: ${{ runner.os }}-modules-test-${{ hashFiles('**/package-lock.json') }} | |
- name: Install mah build dependencies | |
run: npm install | |
- name: Test | |
run: npm run test | |
- name: Make a production build | |
run: npm run build:prod |