Merge pull request #7 from NullDev/dependabot/npm_and_yarn/babel/trav… #36
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: Build | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ${{ matrix.os }} | |
if: ${{ !contains(github.event.head_commit.message, '[skip-ci]') }} | |
strategy: | |
matrix: | |
os: [macos-latest, ubuntu-latest, windows-latest] | |
steps: | |
- name: Install g++-multilib | |
if: matrix.os == 'ubuntu-latest' | |
run: sudo apt update && sudo apt install g++-multilib | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup Node | |
uses: actions/setup-node@v1 | |
with: | |
node-version: '18.2.0' | |
- name: Install dependencies | |
run: npm install | |
- name: Build and release if draft exists | |
run: npm run dist | |
env: | |
GH_TOKEN: ${{ secrets.github_token }} |