Skip to content

tweak logic for discardable tags #22

tweak logic for discardable tags

tweak logic for discardable tags #22

Workflow file for this run

name: build
on: [push]
jobs:
ci:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- name: Checkout ๐Ÿ›Ž๏ธ
uses: actions/checkout@v2
with:
persist-credentials: false
- name: Use Node.js ${{ matrix.node-version }} ๐ŸŽ
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Install ๐Ÿ“ถ
run: |
yarn
env:
CI: true
- name: Lint ๐Ÿ’š
run: |
yarn lint
env:
CI: true
- name: Build ๐Ÿ› 
run: |
yarn build
env:
CI: true
- name: Deploy Client โš›
if: ${{ github.ref == 'refs/heads/main' }}
uses: JamesIves/github-pages-deploy-action@releases/v3
with:
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
BRANCH: gh-pages
FOLDER: build