Skip to content

fix(aws-sp-api): respect endpoint version #4

fix(aws-sp-api): respect endpoint version

fix(aws-sp-api): respect endpoint version #4

name: Deploy AWS SP API
on:
push:
paths:
- 'node-red-contrib-rollun-aws-sp-api/**'
- '.github/workflows/deploy-aws-sp-api.yml'
branches:
- master
defaults:
run:
working-directory: node-red-contrib-rollun-aws-sp-api
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: '16.x'
registry-url: 'https://registry.npmjs.org'
- name: Cache node_modules
uses: actions/cache@master
id:
cache-node-modules
with:
path: node_modules
key: ${{ runner.os }}-cache-node-modules-${{ hashFiles('**/package.json') }}
restore-keys: |
${{ runner.os }}-cache-node-modules-${{ hashFiles('**/package.json') }}
- name: Install dependecies
run: npm install
- name: Publish to npm
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
- uses: rollun-com/actions/refresh-node-red-module@master
with:
name: node-red-contrib-rollun-aws-sp-api