diff --git a/.github/workflows/api.yml b/.github/workflows/api.yml new file mode 100644 index 0000000..1c1ca6d --- /dev/null +++ b/.github/workflows/api.yml @@ -0,0 +1,16 @@ +name: API +on: + push: + paths: + - api/* + pull_request: + paths: + - api/* +jobs: + test: + name: Test Install + runs-on: ubuntu-latest + steps: + - uses: actions/setup-node@master + - uses: actions/checkout@master + - run: yarn --cwd api install \ No newline at end of file diff --git a/.github/workflows/web.yml b/.github/workflows/web.yml new file mode 100644 index 0000000..2f2a434 --- /dev/null +++ b/.github/workflows/web.yml @@ -0,0 +1,17 @@ +name: Web App +on: + push: + paths: + - web/* + pull_request: + paths: + - web/* +jobs: + test: + name: Test + runs-on: ubuntu-latest + steps: + - uses: actions/setup-node@master + - uses: actions/checkout@master + - run: yarn --cwd web install + - run: yarn --cwd web test \ No newline at end of file diff --git a/README.md b/README.md index 23c1519..36320f8 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,7 @@ # namae +[![Actions Status](https://wdp9fww0r9.execute-api.us-west-2.amazonaws.com/production/badge/uetchy/namae](https://wdp9fww0r9.execute-api.us-west-2.amazonaws.com/production/results/uetchy/namae) + > name new project. namae saves your time searching around registries and checking if the desired name is ready for use.