Skip to content

Merge pull request #223 from amadeus4dev/release11 #11

Merge pull request #223 from amadeus4dev/release11

Merge pull request #223 from amadeus4dev/release11 #11

Workflow file for this run

name: publish
on:
push:
# Sequence of patterns matched against refs/tags
tags:
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10
jobs:
build:
runs-on: Ubuntu-latest
strategy:
fail-fast: false
matrix:
node-version: [16.x]
name: Node ${{ matrix.node-version }} sample
steps:
- uses: actions/checkout@v2
- name: Set up Node ${{ matrix.nodeversion }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
run: npm install
- name: Publish
if: ${{ matrix.node-version == '16.x' }}
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}