Merge pull request #24 from dixahq/dependabot/npm_and_yarn/adobe/css-… #14
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 and publish | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
name: Build, lint, and test and publish | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Use Node ${{ matrix.node }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node }} | |
- name: Install dependencies | |
uses: bahmutov/npm-install@v1 | |
- name: Lint | |
run: yarn lint | |
- name: Test | |
run: yarn test --ci --coverage --maxWorkers=2 | |
- name: Build | |
run: yarn build | |
- name: Publish | |
run: | | |
echo "Publishing to NPM is not yet implemented" | |
exit 0 | |