Skip to content

Commit

Permalink
add status badges
Browse files Browse the repository at this point in the history
  • Loading branch information
zirkelc committed Aug 19, 2023
1 parent e4476e7 commit 6499e04
Show file tree
Hide file tree
Showing 4 changed files with 36 additions and 32 deletions.
26 changes: 24 additions & 2 deletions .github/workflows/tests.yml → .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,36 @@
name: "Tests"
name: "CI"

on:
pull_request:
push:

env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
# AWS_REGION: ${{ secrets.AWS_REGION }}

jobs:
name: Lint
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Setup Node.js 16
uses: actions/setup-node@v3
with:
node-version: 16
cache: 'npm'
cache-dependency-path: '**/package-lock.json'

- name: Install
id: install
run: |
npm ci
- name: Lint
run: |
npm run lint:ci
tests:
name: Tests
runs-on: ubuntu-latest
Expand Down
29 changes: 0 additions & 29 deletions .github/workflows/lint.yml

This file was deleted.

9 changes: 9 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# TODO relase.yml workflow
# https://github.com/ArtiomTr/jest-coverage-report-action/blob/main/.github/workflows/draft-release.yml
# https://docs.github.com/en/actions/publishing-packages/about-packaging-with-github-actions

# https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages


#https://github.com/semantic-release/semantic-release
#https://github.com/conventional-changelog/commitlint
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
![npm](https://img.shields.io/npm/v/aws-sigv4-fetch?label=aws-sigv4-fetch)

[![CI](https://github.com/zirkelc/aws-sigv4-fetch/actions/workflows/ci.yml/badge.svg)](https://github.com/zirkelc/aws-sigv4-fetch/actions/workflows/ci.yml)
![npm](https://img.shields.io/npm/v/aws-sigv4-fetch)
![npm](https://img.shields.io/npm/dt/aws-sigv4-fetch)

# aws-sigv4-fetch
Expand Down

0 comments on commit 6499e04

Please sign in to comment.