From e47e63b878d790364d2ac5bfd52d4c28ccd0e442 Mon Sep 17 00:00:00 2001 From: Ana Azevedo Date: Tue, 17 Sep 2019 10:49:05 -0300 Subject: [PATCH 1/4] feat Testando actions do github --- .github/workflows/test.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 000000000..cc6b1874f --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,25 @@ +name: Node CI + +on: [push] + +jobs: + build: + + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: 8.10.0 + + steps: + - uses: actions/checkout@v1 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node-version }} + - name: test build + run: | + yarn + yarn test + env: + CI: true From ac4cc3cd05b7176bbaf6466a2e8452d1294f4d65 Mon Sep 17 00:00:00 2001 From: Ana Date: Tue, 17 Sep 2019 10:53:58 -0300 Subject: [PATCH 2/4] feat Remove prepush --- package.json | 1 - 1 file changed, 1 deletion(-) diff --git a/package.json b/package.json index 9f862660a..79397b3a1 100755 --- a/package.json +++ b/package.json @@ -16,7 +16,6 @@ "lint:styl": "stylint source/", "lint:js": "eslint source/", "precommit": "yarn lint", - "prepush": "yarn test", "release": "./node_modules/.bin/release-it", "storybook": "./node_modules/.bin/cross-env THEME_ENV=$THEME_ENV start-storybook -p 9000", "test": "./node_modules/.bin/cross-env NODE_ENV=testing BABEL_ENV=testing jest", From 87e626f5c478d19683a3f3aaa3519c14c9ede504 Mon Sep 17 00:00:00 2001 From: Ana Date: Tue, 17 Sep 2019 10:57:07 -0300 Subject: [PATCH 3/4] fix Ajusta config de actions --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index cc6b1874f..3521c26b9 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,7 +9,7 @@ jobs: strategy: matrix: - node-version: 8.10.0 + node-version: [8.x, 10.x, 12.x] steps: - uses: actions/checkout@v1 From 86da5240faabeba0dcfa6d48e8584da2b457a7b4 Mon Sep 17 00:00:00 2001 From: Ana Date: Tue, 17 Sep 2019 10:59:10 -0300 Subject: [PATCH 4/4] =?UTF-8?q?fix=20Apenas=20uma=20vers=C3=A3o=20node?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 3521c26b9..76dbb0a82 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,7 +9,7 @@ jobs: strategy: matrix: - node-version: [8.x, 10.x, 12.x] + node-version: [8.x] steps: - uses: actions/checkout@v1