feat(analytics): add support for tracking control #11
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Github Page | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
github-page: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Setup Node.js environment | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
- name: Install dependencies | |
env : | |
CI: true | |
run: | | |
npm pkg delete scripts.prepare | |
npm ci | |
- name: Run build Github Page | |
run: | | |
npm run github:page | |
- name: Deploy GitHub Page 🚀 | |
uses: JamesIves/github-pages-deploy-action@releases/v3 | |
with: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
BRANCH: gh-pages | |
FOLDER: dist |