Skip to content

Commit

Permalink
chore(template): sync with ahmadnassri/template-node-lib
Browse files Browse the repository at this point in the history
  • Loading branch information
Ahmad Nassri committed Sep 17, 2022
1 parent d1238de commit edd84ca
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 9 deletions.
10 changes: 3 additions & 7 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ jobs:
steps:
- uses: actions/[email protected]

- uses: oxsecurity/megalinter/flavors/javascript@v6
- uses: oxsecurity/megalinter/flavors/javascript@v6.9.1
env:
GITHUB_TOKEN: ${{ github.token }}
MEGALINTER_CONFIG: .github/linters/.mega-linter.yml
Expand Down Expand Up @@ -122,7 +122,7 @@ jobs:
with:
submodules: true

- uses: ahmadnassri/[email protected].1
- uses: ahmadnassri/[email protected].2

- uses: actions/[email protected]
with:
Expand Down Expand Up @@ -167,10 +167,6 @@ jobs:
with:
cache: npm

- uses: ahmadnassri/[email protected]
with:
token: ${{ github.token }}

- run: npm ci

- id: release
Expand Down Expand Up @@ -202,7 +198,7 @@ jobs:

- name: publish to github registry
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ github.token }}
run: |
jq '.name = "@'"${GITHUB_REPOSITORY/node-/}"'"' package.json > /tmp/package.json; mv /tmp/package.json .
npm version --no-git-tag-version "v${{ needs.release.outputs.version }}"
Expand Down
2 changes: 1 addition & 1 deletion .semantic.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
"preset": "conventionalcommits",
"presetConfig": {
"types": [
{ "type": "chore", "section": "Chores", "hidden": true },
{ "type": "build", "section": "Build", "hidden": false },
{ "type": "chore", "section": "Chores", "hidden": false },
{ "type": "ci", "section": "CI/CD", "hidden": false },
{ "type": "docs", "section": "Docs", "hidden": false },
{ "type": "feat", "section": "Features", "hidden": false },
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ services:
# ---- mega-linter ---- #
lint:
profiles: ["dev"]
image: oxsecurity/megalinter-javascript:v6
image: oxsecurity/megalinter-javascript:v6.9.1
volumes:
- ./:/tmp/lint
environment:
Expand Down

0 comments on commit edd84ca

Please sign in to comment.