mirror of
https://github.com/aljazceru/nostr-profile-manager.git
synced 2025-12-17 05:34:20 +01:00
25 lines
453 B
YAML
25 lines
453 B
YAML
name: Lint and test
|
|
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
build_and_test:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
fail-fast: false
|
|
matrix:
|
|
nodejs: [ 16 ]
|
|
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
|
|
# https://github.com/actions/setup-node
|
|
- uses: actions/setup-node@v2-beta
|
|
with:
|
|
node-version: ${{ matrix.nodejs }}
|
|
|
|
- run: yarn install
|
|
- run: yarn add -D esbuild
|
|
- run: yarn jest
|
|
- run: yarn lint
|