Skip to content

fix: reset initial group values on reset #41

fix: reset initial group values on reset

fix: reset initial group values on reset #41

Workflow file for this run

name: ci
on:
workflow_dispatch:
push:
branches:
- 'main'
pull_request: {}
concurrency:
group: '${{ github.workflow }} @ ${{ github.event.pull_request.head.label || github.head_ref || github.ref }}'
cancel-in-progress: true
jobs:
ci:
timeout-minutes: 5
runs-on: ubuntu-latest
steps:
- name: πŸ“– Check out repo
uses: actions/checkout@v3
- name: βš™οΈ Set up Node
uses: actions/setup-node@v3
- name: πŸ”Ž Install dependencies
run: npm i --force # todo: this should be npm ci
- name: βš’οΈ Build
run: npm run build
# - name: πŸ‘€ Lint
# run: npm run lint
# - name: πŸ§ͺ Test
# run: npm run test:coverage
release:
timeout-minutes: 5
runs-on: ubuntu-latest
needs: ci
if: github.ref == 'refs/heads/main'
steps:
- name: πŸ“– Check out repo
uses: actions/checkout@v3
- name: βš™οΈ Set up Node
uses: actions/setup-node@v3
- name: πŸ”Ž Install dependencies
run: npm i --force # todo: this should be npm ci
- name: βš’οΈ Build
run: npm run build
- name: πŸš€ Release
if: github.repository == 'timdeschryver/ng-signal-forms' && (github.ref == 'refs/heads/main' || github.ref == 'refs/heads/beta')
run: npx semantic-release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
CI: true