Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fixed yaml lint errors #717

Merged
merged 1 commit into from
Oct 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 10 additions & 7 deletions .github/workflows/ci.yml → .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
---
# docs at: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions
# file format documented at:
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions
name: CI

on: [push, pull_request]

jobs:
# TODO: check project builds/compiles correctly, maybe with tsc TypeScript compiler?
# TODO: add tests including coverage
# TODO: check project builds/compiles correctly? maybe with tsc?
# TODO: add tests including coverage (jest and mocha/chai?)

lint_src_files:
name: Lint source files
Expand Down Expand Up @@ -119,9 +120,11 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check the commits conform to the Conventional Commits specification with commitlint
- name: >
Check the commits conform to the Conventional
Commits specification with commitlint
uses: wagoid/commitlint-github-action@v5
# TODO: check commits squashed into one (i.e. all changes in a PR are in one commit after last one in primary branch)
# TODO: use semver to increase version numbers and update changelog automatically
# TODO: publish new release automatically if version increased and CI passes (use release-please?)
# TODO: check PRs have all changes (squashed) in(to) 1 commit
# TODO: make semver automatically bump version num and update changelog
# TODO: publish new release if version num bumped and CI passes
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
name: "🚀 publish"

on:
Expand All @@ -15,4 +16,4 @@ jobs:
registry-url: https://registry.npmjs.org/
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_ACCESS_TOKEN}}
NODE_AUTH_TOKEN: ${{secrets.NPM_ACCESS_TOKEN}}
Loading