Skip to content

Commit

Permalink
Merge pull request #45 from Sleavely/awssdk-v3
Browse files Browse the repository at this point in the history
2024 refactoring
  • Loading branch information
Sleavely authored Mar 8, 2024
2 parents d165839 + db6b2cd commit 1bc4865
Show file tree
Hide file tree
Showing 50 changed files with 7,079 additions and 7,318 deletions.
1 change: 0 additions & 1 deletion .circleci/.npmignore

This file was deleted.

23 changes: 0 additions & 23 deletions .circleci/config.yml

This file was deleted.

9 changes: 1 addition & 8 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,3 @@
{
"extends": "standard",
"rules": {
"comma-dangle": ["error", "always-multiline"],
"no-trailing-spaces": "error"
},
"env": {
"jest": true
}
"extends": "@sleavely"
}
36 changes: 36 additions & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# This workflow causes release-please to maintain a Release PR
# which publishes to NPM once it has been merged.
# See https://github.com/google-github-actions/release-please-action

on:
push:
branches:
- main

name: release-please
jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: google-github-actions/release-please-action@v4
id: release
with:
release-type: node
# The logic below handles the npm publication:
- uses: actions/checkout@v4
# these if statements ensure that a publication only occurs when
# a new release is created:
if: ${{ steps.release.outputs.release_created }}
- uses: actions/setup-node@v4
with:
node-version: 20
registry-url: 'https://registry.npmjs.org'
if: ${{ steps.release.outputs.release_created }}
- run: npm ci
if: ${{ steps.release.outputs.release_created }}
- run: npm run build
if: ${{ steps.release.outputs.release_created }}
- run: npm publish --access=public
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
if: ${{ steps.release.outputs.release_created }}
25 changes: 25 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Transpiling and Linting

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [18.x, 20.x]

steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm test
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
dist

# Created by https://www.gitignore.io/api/node,linux,macos,windows
# Edit at https://www.gitignore.io/?templates=node,linux,macos,windows

Expand Down
194 changes: 0 additions & 194 deletions index.d.ts

This file was deleted.

Loading

0 comments on commit 1bc4865

Please sign in to comment.