feat: Add set-version
functionality
#283
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: "Random Mewmba Actions" | |
on: | |
workflow_call: | |
workflow_dispatch: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
verify_formatting: | |
name: Verify Formatting | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
name: Setup Node v16 | |
with: | |
node-version: 16 | |
cache: "npm" | |
- name: Mewmba Test | |
run: | | |
npm ci | |
npm run prettier:check | |
shell: pwsh | |
test: | |
name: Basic Functionality | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
name: Setup Node v16 | |
with: | |
node-version: 16 | |
cache: "npm" | |
- name: Mewmba Test | |
run: | | |
npm ci | |
npm test | |
env: | |
GATHER_SPACE_ID: ${{ secrets.GATHER_SPACE_ID }} | |
GATHER_MAP_ID: ${{ secrets.GATHER_MAP_ID }} | |
GATHER_API_KEY: ${{ secrets.GATHER_API_KEY }} | |
SLACK_BOT_USER_OAUTH_TOKEN: ${{ secrets.SLACK_BOT_USER_OAUTH_TOKEN }} | |
SLACK_SOCKET_TOKEN: ${{ secrets.SLACK_SOCKET_TOKEN }} | |
GITHUB_PAT: ${{ secrets.GITHUB_PAT }} | |
shell: pwsh |