feat: upgrade AWS sdk to v3 #15
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Continuous Integration | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- '*' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
persist-credentials: false | |
- name: Validate commit messages | |
if: ${{ github.ref != 'refs/heads/master' }} | |
uses: wagoid/commitlint-github-action@v6 | |
- name: Use Node.js 16.x | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 16.x | |
- name: Install packages | |
run: npm ci | |
- name: Run tests | |
run: npm test | |
- name: Compile typescript | |
run: npm run build | |
- name: Semantic Release | |
id: semantic_release | |
if: ${{ github.ref == 'refs/heads/master' }} | |
uses: cycjimmy/semantic-release-action@v4 | |
env: | |
GITHUB_TOKEN: ${{ secrets.SAGA_GITHUB_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | |
with: | |
extra_plugins: | | |
@semantic-release/changelog | |
@semantic-release/git |