Skip to content

Commit

Permalink
chore: removed travis automation
Browse files Browse the repository at this point in the history
  • Loading branch information
joamag committed Nov 9, 2024
1 parent 2e5f3da commit 038e792
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 24 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Deploy Workflow
on:
push:
tags:
- "*"
jobs:
build:
name: Deploy
timeout-minutes: 10
strategy:
matrix:
node-version: [14]
runs-on: ubuntu-latest
container: node:${{ matrix.node-version }}-buster
steps:
- uses: actions/checkout@v4
- run: node --version
- run: npm install
- run: npm install --only=dev
- run: npm run lint
- run: npm test
- run: |
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc
npm publish
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
5 changes: 3 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,14 @@ on: [push]
jobs:
build:
name: Build
timeout-minutes: 10
strategy:
matrix:
node-version: [12, 13, 14, 15, 16, 17]
node-version: [14, 15, 16, 17, 18, 19, 20, 21, 22]
runs-on: ubuntu-latest
container: node:${{ matrix.node-version }}
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v4
- run: node --version
- run: npm install
- run: npm install --only=dev
Expand Down
21 changes: 0 additions & 21 deletions .travis.yml

This file was deleted.

2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@ Barcodies is currently licensed under the [Apache License, Version 2.0](http://w

## Build Automation

[![Build Status](https://app.travis-ci.com/hivesolutions/barcodies.svg?branch=master)](https://travis-ci.com/github/hivesolutions/barcodies)
[![Build Status](https://github.com/hivesolutions/barcodies/workflows/Main%20Workflow/badge.svg)](https://github.com/hivesolutions/barcodies/actions)
[![npm Status](https://img.shields.io/npm/v/hive-barcodies.svg)](https://www.npmjs.com/package/hive-barcodies)
[![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](https://www.apache.org/licenses/)

0 comments on commit 038e792

Please sign in to comment.