Skip to content

Commit 1b59af8

Browse files
authored
Merge pull request #25 from idesigncode/configuration
Configuration: updated actions + ignored files
2 parents a154690 + 907357a commit 1b59af8

File tree

5 files changed

+8
-7
lines changed

5 files changed

+8
-7
lines changed

.github/workflows/node.js.yml renamed to .github/workflows/node-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This workflow runs install-test across different versions of node
22

3-
name: Node.js Install Test
3+
name: Node Tests
44

55
on:
66
push:

.github/workflows/npm-publish.yml renamed to .github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# This workflow will run tests using node and then publish an NPM package when a release is created
22
# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages
33

4-
name: NPM Publish
4+
name: Release
55

66
on:
77
release:

.github/workflows/storybook-tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# This workflow runs Storybook CI tests against the Netlify build
22
# ? Reference: https://github.com/storybookjs/test-runner#running-in-ci
3-
# ? Reference: https://github.com/marketplace/actions/wait-for-netlify-deployment
3+
# ? Reference: https://github.com/actions-marketplace-validations/jlevy-io_wait-for-netlify-deploy-with-headers
44

55
name: Storybook Tests
66

@@ -28,7 +28,7 @@ jobs:
2828
run: npm install
2929

3030
- name: Wait for Netlify
31-
uses: probablyup/wait-for-netlify-action@v3.4.0
31+
uses: jlevy-io/wait-for-netlify-deploy-with-headers@3.0.4
3232
id: waitForDeployment
3333
with:
3434
site_id: ${{ secrets.NETLIFY_SITE_ID }}

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
# Common
77
.DS_Store
88
node_modules/
9-
npm-debug.log
9+
*.log
10+
*.local
1011

1112
# IDE
1213
.idea/

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ _Note: the ["prepare" Life Cycle Script](https://docs.npmjs.com/cli/using-npm/sc
2929
<details>
3030
<summary>🚀 Deployments</summary>
3131

32-
The GitHub action [npm-publish.yml](.github/workflows/npm-publish.yml) is used to automatically deploy a release to the NPM package registry. The action requires the `NPM_TOKEN` secrets to be set.
32+
The GitHub action [release.yml](.github/workflows/release.yml) is used to automatically deploy a release to the NPM package registry. The action requires the `NPM_TOKEN` secrets to be set.
3333

3434
</details>
3535

@@ -46,7 +46,7 @@ The GitHub action [npm-publish.yml](.github/workflows/npm-publish.yml) is used t
4646

4747
#### Code linting tests
4848

49-
The GitHub action [node.js.yml](.github/workflows/node.js.yml) is used to run the code linting tests on pull requests and commit pushes into the main branch. The action requires the `NPM_TOKEN` secrets to be set.
49+
The GitHub action [node-tests.yml](.github/workflows/node-tests.yml) is used to run the code linting tests on pull requests and commit pushes into the main branch. The action requires the `NPM_TOKEN` secrets to be set.
5050

5151
`npm run test` runs the code linting tests:
5252

0 commit comments

Comments
 (0)