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 62d7552..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: lZVeoH0NsUVldJlN3AbpSrJjDQ1BJLE/Dwl2Mb3vczDNtppDJp0Nw920PVTxizBN1f/Yfmnii2s+YIGHQG3UcXFVkEUH8SGMB6IO0Gq0uvrtnkuTIN0EERPdcGFIlC4w4P7oSHKQMRWAIFsQ0gK1pkTE/pk98A175hNzhNPFh/o9QeMWY3CCUi1kYynVlTxZo3cLpU+FzE1lDAW41YuaJ5DejMTVXmMYzHjEi9jgENv26OhddL5g+aGF5QcDn0m7h57ATL8p2+JPPZdBZn3t5Vaz5osxl+6cW7LMO/VZ5hWOgvAeGoDPMiwZG5UxYcJRtCcD6nxN5wZUD3krEPzTieVXVpiQ63E1t1U4EID9590tHTaLBqa5uEVbvUis02ZtkZvt3a7zIKA5P4hDRYuBNnBWm+MLoqh+rneG+V3g3LiBsv8EbOQqey2qhN3fzQ5n559Wcw19N1NjhvNz9bXYNQCSto7It4JHZ78ru7K46/AR8mKXLlcBQEPLUWFuiB6ZW3rn/QptGGi0OM9uAZLMI28tbdYgp9EbRiiUSd7G6fWYVxqtCE2YHg+FMlcBuETugXK781nQn74r3k3JuWGuGY5DWBODPzQszGnnvKRLU/5AnQaQHCB7ydw+y0VgZj7RzsszuJqOojEsLLI8Ydo/dtt+xuXYSCW3W7YhPOl5X2o= - api_key: - secure: Q9W0C1TBC3Wqak90cjzDzO46JPRWR6IvYL5A3GSIh21mBEOKYTpkFcc5gWl++aULJdV9g/nR9znbMZn1tpcgppTFudXCUPCO02BCgYHsroPXEsquX9E67H6OLA6ipsq6zRQXvVxlC/4oOfo4PaeLoiUoyPvR9SRsJI64674trDoKNqBpQbsY19r3E2eXe2sv8jAkT3dHE5IWZf0KVUoaAlZIwXjJh+pnz+1o56pssYvU2zV1fTkSld2ot5BmGcZSRvEJdEaSc53skC4W7rzm0UobAsDVozoSHFs6JcOeG1lI6jUzl98MlAqib34iedbO9WDd+Afje6VLAcAN0iSH6Im2nwHDpSVGfnc8Ahx5pRX2XQb8Gk5FRdz6HYlYOeKasuh/qcZqF/+pCuoh5an7Txa2eVuacb3KmEyMz1nKU1lPsifRXrAF5bymgktj8cZXiFGaBqp+5m4aQQxEm3tEH+wRGDgEaDcpPBYmHh020XVvQYd35TOfqMZ7jBNCATTsR6gKdi4FqkNvbhJZsz+wu54Pt3NacEKlGXt7y2ePbzNGUURGPFJrHLKB398uhUIyksA3ILu/thFYDiDQ2Ira22tlcXwIhjWt9TbZ0BdxPFb3um/MVjJ5QKai7F5EUZ0RQH3HOw1k2kAVbCChgZg6N6Fj1bikeCGzcWWAeYdqOsM= - on: - tags: true - repo: thelounge/thelounge-theme-zenburn - branch: master diff --git a/README.md b/README.md index 53e863c..9ed136c 100644 --- a/README.md +++ b/README.md @@ -10,9 +10,6 @@ npm version - Travis CI Build Status Total downloads on npm