Skip to content

Merge pull request #218 from amadeus4dev/v10.1.0 #10

Merge pull request #218 from amadeus4dev/v10.1.0

Merge pull request #218 from amadeus4dev/v10.1.0 #10

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 }}