diff --git a/.github/workflows/pull_request_checks.yml b/.github/workflows/pull_request_checks.yml new file mode 100644 index 0000000..597caf2 --- /dev/null +++ b/.github/workflows/pull_request_checks.yml @@ -0,0 +1,20 @@ +name: Pull Request Checks + +on: + pull_request: + branches: [master] + types: [opened, synchronize, reopened] + +jobs: + unit_test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Install Node + uses: actions/setup-node@v3 + with: + node-version: 16 + cache: 'yarn' + - run: yarn + - run: yarn run build + - run: yarn run test diff --git a/README.md b/README.md index edc1f0b..0e40082 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# ShadowsocksConfig +# ShadowsocksConfig (Forked) [![Build Status](https://travis-ci.org/Jigsaw-Code/outline-shadowsocksconfig.svg?branch=master)](https://travis-ci.org/Jigsaw-Code/outline-shadowsocksconfig)