From 071c9971a75993ef26f1a1c4412f336e28ba2371 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Artis=20Bl=C5=ABms?= Date: Sat, 6 Aug 2022 20:52:08 +0300 Subject: [PATCH] feat: adds github deploy workflow --- .github/workflows/deploy.yml | 29 +++++++++++++++++++++++++++++ .gitignore | 1 + 2 files changed, 30 insertions(+) create mode 100644 .github/workflows/deploy.yml diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 0000000..8058a06 --- /dev/null +++ b/.github/workflows/deploy.yml @@ -0,0 +1,29 @@ +name: deploy + +on: + push: + branches: [ main ] + +jobs: + build: + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [ 16.x] + + steps: + - uses: actions/checkout@v3 + + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node-version }} + + - name: Build + run: | + yarn + yarn build + + - name: Deploy + diff --git a/.gitignore b/.gitignore index 557f97c..80c26be 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ node_modules/ .cache/ public +.idea \ No newline at end of file