Commit baafd22b05
baafd22b05f2e180164ad0570dee804ad3a0a235
parent: 530b323bb1
Unsigned
Pavel Djundik <xPaw@users.noreply.github.com> · 2019-11-26 20:53 UTC
Replace travis with github actions
Layout: unified · split
.github/workflows/build.yml
added
+21
| @@ -0,0 +1,21 @@ |
| 1 | name: Build |
| 2 | |
| 3 | on: [push, pull_request] |
| 4 | |
| 5 | jobs: |
| 6 | build: |
| 7 | name: Build and test |
| 8 | |
| 9 | runs-on: ubuntu-latest |
| 10 | |
| 11 | steps: |
| 12 | - uses: actions/checkout@master |
| 13 | |
| 14 | - name: Setup Node.js |
| 15 | uses: actions/setup-node@v1 |
| 16 | |
| 17 | - name: Install |
| 18 | run: yarn --frozen-lockfile --non-interactive |
| 19 | |
| 20 | - name: Test |
| 21 | run: yarn test |
.github/workflows/release.yml
added
+27
| @@ -0,0 +1,27 @@ |
| 1 | name: Release |
| 2 | |
| 3 | on: |
| 4 | push: |
| 5 | tags: v* |
| 6 | |
| 7 | jobs: |
| 8 | release: |
| 9 | name: Release workflow |
| 10 | |
| 11 | runs-on: ubuntu-latest |
| 12 | |
| 13 | steps: |
| 14 | - uses: actions/checkout@master |
| 15 | |
| 16 | - name: Setup Node.js |
| 17 | uses: actions/setup-node@v1 |
| 18 | with: |
| 19 | registry-url: 'https://registry.npmjs.org/' |
| 20 | |
| 21 | - name: Install |
| 22 | run: yarn --frozen-lockfile --non-interactive |
| 23 | |
| 24 | - name: Publish |
| 25 | run: npm publish |
| 26 | env: |
| 27 | NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }} |
.travis.yml
deleted
−19
| @@ -1,19 +0,0 @@ |
| 1 | | language: node_js |
| 2 | | node_js: 8 |
| 3 | | |
| 4 | | cache: |
| 5 | | yarn: true |
| 6 | | |
| 7 | | notifications: |
| 8 | | email: false |
| 9 | | |
| 10 | | deploy: |
| 11 | | provider: npm |
| 12 | | email: |
| 13 | | secure: NkBoGEy6revCOtvjf2SlztjHIjdcJhJiXP6ImG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X5pNMio4VDRPgnRMjvDBmx8YiOPDB+01lghsajZWzxa/IuXxHRL//Rd27FG1iUSm84cfoxSBC0tVNcPK+V6oFB/Ok1fEo13pGSbgYVgR7o27rV3nJ1g7voWfY/C9TAuuH7CDLUfVwPbTQjO2XMvjamp2uFy9G2MUkyFGa73QpLLJmTk9hA+AgL+nGGEm6UiX8uZaDyyTetkdCTKmFmm6siky+YiCNzzwd3LniXZfrHdcCs3qcHoXWlL6xXJ4QXAXTH91Pf4yRVQ= |
| 16 | | on: |
| 17 | | tags: true |
| 18 | | repo: thelounge/thelounge-theme-crypto |
| 19 | | branch: master |
README.md
−3
| @@ -18,9 +18,6 @@ |
| 18 | 18 | <a href="https://yarn.pm/thelounge-theme-crypto"><img |
| 19 | 19 | alt="npm version" |
| 20 | 20 | src="https://img.shields.io/npm/v/thelounge-theme-crypto.svg?style=flat-square"></a> |
| 21 | | <a href="https://travis-ci.com/thelounge/thelounge-theme-crypto"><img |
| 22 | | alt="Travis CI Build Status" |
| 23 | | src="https://img.shields.io/travis/com/thelounge/thelounge-theme-crypto/master.svg?&style=flat-square"></a> |
| 24 | 21 | <a href="https://npm-stat.com/charts.html?package=thelounge-theme-crypto&from=2016-02-12"><img |
| 25 | 22 | alt="Total downloads on npm" |
| 26 | 23 | src="https://img.shields.io/npm/dt/thelounge-theme-crypto.svg?colorB=007dc7&style=flat-square"></a> |