Skip to content

feat: ✨ new overload definition on createDistinctSelector #9

feat: ✨ new overload definition on createDistinctSelector

feat: ✨ new overload definition on createDistinctSelector #9

Workflow file for this run

name: Build
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
build:
name: Build
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Enable Corepack
run: corepack enable
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 20
cache: pnpm
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Lint
run: pnpm run lint
- name: Test
id: test
run: pnpm run test
- name: Build
run: pnpm run build
- name: Upload dist
uses: actions/upload-artifact@v4
with:
name: dist
path: dist
publish:
name: Publish
needs: build
runs-on: ubuntu-latest
timeout-minutes: 20
if: github.ref == 'refs/heads/main'
permissions:
contents: write
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Download dist
uses: actions/download-artifact@v4
with:
name: dist
path: dist
- name: Publish @ngneers/easy-ngrx-distinct-selector
id: publish
uses: JS-DevTools/npm-publish@v3
with:
token: ${{ secrets.NPM_TOKEN }}
package: dist
- name: Create Tag for @ngneers/easy-ngrx-distinct-selector
uses: rickstaa/action-create-tag@v1
with:
tag: v${{ steps.publish.outputs.version }}
tag_exists_error: false