Files
crypt-keeper-extension/.github/workflows/build.yml
0xmad 0093c93d0d chore: dev improvements
- [x] Add eslint and prettier ignore files
- [x] Add types check for precommit hook
- [x] Add types for local demo
2023-02-21 16:37:34 -06:00

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 }}