Add support for local and session storage #38
Workflow file for this run
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
# workflow for any push | |
name: push | |
on: | |
# trigger on feature/* or bug/* branch | |
push: | |
branches: [feature/*, bug/*] | |
# allow manual dispatch | |
workflow_dispatch: | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [18.x] | |
steps: | |
# checkout repo | |
- name: Git checkout | |
uses: actions/checkout@v2 | |
# setup Node.js | |
- name: Set Node.js - v${{ matrix.node-version }} | |
uses: actions/setup-node@v2 | |
with: | |
node-version: ${{ matrix.node-version }} | |
# install dependencies | |
- name: Install dependencies | |
run: yarn | |
# run tests | |
- name: Run tests | |
run: yarn test | |
# build dist | |
- name: Build package | |
run: yarn build |