diff options
| author | Pavel Djundik <[email protected]> | 2019-11-26 22:53:50 +0200 |
|---|---|---|
| committer | Pavel Djundik <[email protected]> | 2019-11-26 22:53:50 +0200 |
| commit | baafd22b05f2e180164ad0570dee804ad3a0a235 (patch) | |
| tree | 9a9962ca9a9fd1a33bf51982fe1615417b8b774c | |
| parent | 530b323bb1f1bc7c980ed12e9041a6dfb11f0aa1 (diff) | |
| download | thelounge-theme-crypto-baafd22b05f2e180164ad0570dee804ad3a0a235.tar.gz thelounge-theme-crypto-baafd22b05f2e180164ad0570dee804ad3a0a235.tar.bz2 thelounge-theme-crypto-baafd22b05f2e180164ad0570dee804ad3a0a235.zip | |
Replace travis with github actions
| -rw-r--r-- | .github/workflows/build.yml | 21 | ||||
| -rw-r--r-- | .github/workflows/release.yml | 27 | ||||
| -rw-r--r-- | .travis.yml | 19 | ||||
| -rw-r--r-- | README.md | 3 |
4 files changed, 48 insertions, 22 deletions
diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..5fcfa71 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,21 @@ +name: Build + +on: [push, pull_request] + +jobs: + build: + name: Build and test + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@master + + - name: Setup Node.js + uses: actions/setup-node@v1 + + - name: Install + run: yarn --frozen-lockfile --non-interactive + + - name: Test + run: yarn test diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..127bbfb --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,27 @@ +name: Release + +on: + push: + tags: v* + +jobs: + release: + name: Release workflow + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@master + + - name: Setup Node.js + uses: actions/setup-node@v1 + with: + registry-url: 'https://registry.npmjs.org/' + + - name: Install + run: yarn --frozen-lockfile --non-interactive + + - name: Publish + run: npm publish + env: + NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }} diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index 8b08388..0000000 --- a/.travis.yml +++ /dev/null @@ -1,19 +0,0 @@ -language: node_js -node_js: 8 - -cache: - yarn: true - -notifications: - email: false - -deploy: - provider: npm - email: - secure: NkBoGEy6revCOtvjf2SlztjHIjdcJhJiXP6ImGQfL/uDAYasa80dFr37hB9kwaan5CaP/7JWytUo2r1bXysJpwsxvyECYVGBib4iSojrVVmnNSLawQ+HYsJrx8ACL0AHslyyQhGpCwUJBnu6zmEzbwdS+rPXGjYpmFMwilVvZcfYtBtdnGCH9XK3Ldmz2n975DO0C2Mswxr0TDPywNUOB3HTo5rk2V1ZURP9FEe5nX2wbqXbiRlaED4G/4DNqTMjUTuRWuh9yKoGEkCIas36Kw2j0gtP6yBYxUu9+nu8n271q3gzdPkHRUFExXZRh+UAK+Rp/ixvkOc/QCdrnmGY5d/vT/qvaBg9J1bfc2rDN7KFcbxg3sAq6scj9VsyMmI89/w0JSQOL3yO7XYH3EbqkyceNHrIipWqPY0nz48SzAySYe3ihvLCw+Gx7Pzn5rU6AypRHSkhio5bosKvY9lTqCXVNaYw43xRT9OSaXecmzO+ZtVyPi/05uYoiajHenKEqB/xrX5L2Zd4oBoK7dSF37cv3IlgqeWs6Yb71o1SrRP6Twaw3F/o+24/iCb8gqTK1aXoPZcwYl1mWgD2n+VGqS1RsL0CLU8FCABQa7v7pCaEftmdbA0aSQTPVyL9ZmbGuNHBowJ3vb4JW+9dgnatEesYK1tsqCDuo4zsNef8f30= - api_key: - secure: CpAHLgRR++RERzoOOV22UVAWlc3/gGnUI6rrgPKJB832K4gmETV1z0/ixUEdnPVzJ3ePqSAbr2rePIR4RxzjscxVgHigLfKptj7g8dZY1JLNDgKZw2V5+A36jngLc/Fs4NmW7y5wVxWANvhA/foi5u4NRk2d9i5kQlgkSzAYzX36GMEEdDrsFArWXcUfausUUqiF5EYO5Fy0YPfYf0Iw4NvBnPyd3QSwk21nStb74Ks7r314NH2CkFfUqJCP/7JyvteW85NVNLHM+rmiKdzSN9ZyRzOdBWUCr0mcb3YI66pyHUDPGvMpQVQ742RTqHBronHs9v0NGqeRvbIdHm4QkMnmRWdaxcE7olkFejn9XFqtBOVZYMfTCrHctz4TsCeuPRA3CuGeV8IjIKiHYCWOiO3KoU838ZO8X5pNMio4VDRPgnRMjvDBmx8YiOPDB+01lghsajZWzxa/IuXxHRL//Rd27FG1iUSm84cfoxSBC0tVNcPK+V6oFB/Ok1fEo13pGSbgYVgR7o27rV3nJ1g7voWfY/C9TAuuH7CDLUfVwPbTQjO2XMvjamp2uFy9G2MUkyFGa73QpLLJmTk9hA+AgL+nGGEm6UiX8uZaDyyTetkdCTKmFmm6siky+YiCNzzwd3LniXZfrHdcCs3qcHoXWlL6xXJ4QXAXTH91Pf4yRVQ= - on: - tags: true - repo: thelounge/thelounge-theme-crypto - branch: master @@ -18,9 +18,6 @@ <a href="https://yarn.pm/thelounge-theme-crypto"><img alt="npm version" src="https://img.shields.io/npm/v/thelounge-theme-crypto.svg?style=flat-square"></a> - <a href="https://travis-ci.com/thelounge/thelounge-theme-crypto"><img - alt="Travis CI Build Status" - src="https://img.shields.io/travis/com/thelounge/thelounge-theme-crypto/master.svg?&style=flat-square"></a> <a href="https://npm-stat.com/charts.html?package=thelounge-theme-crypto&from=2016-02-12"><img alt="Total downloads on npm" src="https://img.shields.io/npm/dt/thelounge-theme-crypto.svg?colorB=007dc7&style=flat-square"></a> |
