Add OptionMut.takeIf #160
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
# Taken from roblox-ts under the MIT license https://github.com/roblox-ts/roblox-ts/blob/master/.github/workflows/ci.yml | |
name: CI | |
on: | |
pull_request: | |
push: | |
jobs: | |
lint: | |
name: ESLint | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/[email protected] | |
- name: Install NPM dependencies | |
uses: bahmutov/[email protected] | |
- name: Run ESLint | |
run: npm run eslint | |
build: | |
name: Compile | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/[email protected] | |
- name: Install NPM dependencies | |
uses: bahmutov/[email protected] | |
- name: Compile | |
run: npm run build | |
unit-tests: | |
needs: [build] | |
name: Unit Tests | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- name: Checkout repository | |
uses: actions/[email protected] | |
- name: Install Foreman dependencies | |
uses: rojo-rbx/[email protected] | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- name: Install NPM dependencies | |
uses: bahmutov/[email protected] | |
- name: Run tests | |
run: npm run test-lune |