Skip to content

Commit 7ca9816

Browse files
authored
chore: fixed yaml lint errors (#717)
1 parent e9552a7 commit 7ca9816

File tree

3 files changed

+12
-8
lines changed

3 files changed

+12
-8
lines changed

.github/workflows/ci.yml renamed to .github/workflows/ci.yaml

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,13 @@
11
---
2-
# docs at: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions
2+
# file format documented at:
3+
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions
34
name: CI
45

56
on: [push, pull_request]
67

78
jobs:
8-
# TODO: check project builds/compiles correctly, maybe with tsc TypeScript compiler?
9-
# TODO: add tests including coverage
9+
# TODO: check project builds/compiles correctly? maybe with tsc?
10+
# TODO: add tests including coverage (jest and mocha/chai?)
1011

1112
lint_src_files:
1213
name: Lint source files
@@ -119,9 +120,11 @@ jobs:
119120
runs-on: ubuntu-latest
120121
steps:
121122
- uses: actions/checkout@v4
122-
- name: Check the commits conform to the Conventional Commits specification with commitlint
123+
- name: >
124+
Check the commits conform to the Conventional
125+
Commits specification with commitlint
123126
uses: wagoid/commitlint-github-action@v5
124127
125-
# TODO: check commits squashed into one (i.e. all changes in a PR are in one commit after last one in primary branch)
126-
# TODO: use semver to increase version numbers and update changelog automatically
127-
# TODO: publish new release automatically if version increased and CI passes (use release-please?)
128+
# TODO: check PRs have all changes (squashed) in(to) 1 commit
129+
# TODO: make semver automatically bump version num and update changelog
130+
# TODO: publish new release if version num bumped and CI passes

.github/workflows/publish.yml renamed to .github/workflows/publish.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
---
12
name: "🚀 publish"
23

34
on:
@@ -15,4 +16,4 @@ jobs:
1516
registry-url: https://registry.npmjs.org/
1617
- run: npm publish
1718
env:
18-
NODE_AUTH_TOKEN: ${{secrets.NPM_ACCESS_TOKEN}}
19+
NODE_AUTH_TOKEN: ${{secrets.NPM_ACCESS_TOKEN}}

0 commit comments

Comments
 (0)