Merge pull request #50 from Bramikke/master #69
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 is optional and if present must be used | |
# in the url path for badges | |
name: Build | |
# Run on a dev branch | |
on: | |
push: | |
branches: | |
- master | |
- dev | |
pull_request: | |
branches: | |
- master | |
jobs: | |
Build: | |
name: Build | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [18.17.0] | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v1 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install Fresh Dependencies | |
run: npm ci | |
- name: Build library | |
run: npm run build | |
- name: Log build output | |
run: ls -alt dist/ |