mirror of
https://github.com/CryptKeeperZK/crypt-keeper-extension.git
synced 2026-01-09 14:07:57 -05:00
- [x] Add eslint and prettier ignore files - [x] Add types check for precommit hook - [x] Add types for local demo
32 lines
562 B
YAML
32 lines
562 B
YAML
name: Build
|
|
|
|
on:
|
|
push:
|
|
branches: master
|
|
pull_request:
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-22.04
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
node-version: [16, 18]
|
|
env: [build, dev]
|
|
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
|
|
- uses: actions/setup-node@v3
|
|
with:
|
|
node-version: ${{ matrix.node-version }}
|
|
cache: "npm"
|
|
|
|
- run: npm install
|
|
|
|
- run: npm run ${{ matrix.env }}
|