Fix State.Async state.value not being set before state.promise resolves #34
This file contains hidden or 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: CI | |
| on: | |
| push: | |
| branches: [ main ] | |
| # Allows you to run this workflow manually from the Actions tab | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Setup Node.js environment | |
| uses: actions/setup-node@v2.4.0 | |
| - name: Install dependencies | |
| run: npm install | |
| - name: Build | |
| run: npx task build | |
| - name: Deploy | |
| uses: s0/git-publish-subdir-action@v2.5.1 | |
| env: | |
| REPO: self | |
| BRANCH: package | |
| FOLDER: out | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| MESSAGE: "Deploy {sha}:\n{msg}" |