AWS Advanced NodeJS Wrapper - v1.0.0 #3
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: Release AWS Advanced NodeJS Wrapper | |
on: | |
release: | |
types: published | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
packages: write | |
steps: | |
- name: "Clone Repository" | |
uses: actions/checkout@v4 | |
- name: "Set up Node.js" | |
uses: actions/setup-node@v4 | |
with: | |
node-version: "20.x" | |
registry-url: "https://registry.npmjs.org" | |
- name: "Install dependencies" | |
run: npm install --no-save | |
- name: "Run eslint - linting" | |
run: npm run lint | |
- name: "Check formatting" | |
run: npm run check | |
- name: "Run unit tests" | |
run: npm test | |
- run: npm ci | |
- run: npm publish | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |