Skip to content

Commit cbecfd9

Browse files
authored
Update and rename main.yml to npm_audit_fix.yml (#158)
* Update and rename main.yml to npm_audit_fix.yml * Update and rename npm_audit_fix.yml to npm-audit-fix.yml * Update README.md
1 parent 95d1a76 commit cbecfd9

File tree

2 files changed

+5
-11
lines changed

2 files changed

+5
-11
lines changed

.github/workflows/main.yml renamed to .github/workflows/npm-audit-fix.yml

+4-10
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,14 @@
1-
name: CI
1+
name: npm-audit-fix
22

3-
on: [push]
3+
on:
4+
push:
5+
branches: production
46

57
jobs:
68
build:
7-
89
runs-on: ubuntu-latest
9-
1010
steps:
1111
- uses: actions/checkout@v1
12-
- name: Run a one-line script
13-
run: echo Hello, world!
14-
- name: Run a multi-line script
15-
run: |
16-
echo Add other actions to build,
17-
echo test, and deploy your project.
1812
- name: npm audit action
1913
uses: oke-py/[email protected]
2014
with:

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
[![Netlify Status](https://api.netlify.com/api/v1/badges/ad665e3b-60e0-491c-9126-7f5002058f16/deploy-status)](https://app.netlify.com/sites/writespeakcode/deploys)
1111
[![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)
12-
[![Build Status](https://travis-ci.org/WriteSpeakCode/writespeakcode.com.svg?branch=production)](https://travis-ci.org/WriteSpeakCode/writespeakcode.com)
12+
![Npm Audit Fix](https://github.com/WriteSpeakCode/writespeakcode.com/workflows/npm-audit-fix/badge.svg)
1313

1414
<!-- TOC -->
1515

0 commit comments

Comments
 (0)