add button to directly open iD #31
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: Test | |
on: [push] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [20.x] | |
steps: | |
- name: ⏬ Checkout code | |
uses: actions/checkout@v3 | |
- name: ⏬ Enable Corepack | |
run: corepack enable | |
- name: 🔢 Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
cache: yarn | |
- name: ⏬ Install | |
run: | | |
yarn | |
- name: ✨ Lint | |
run: | | |
yarn lint | |
- name: 🧪 Test | |
run: | | |
yarn test | |
- name: 🛠 Build Client | |
run: | | |
cd client | |
yarn build | |
- name: ⚛ Deploy Client | |
if: ${{ github.ref == 'refs/heads/main' }} | |
uses: JamesIves/[email protected] | |
with: | |
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }} | |
BRANCH: gh-pages | |
FOLDER: client/dist |