Skip to content

chore(deps): update dependency rollup to v4 #961

chore(deps): update dependency rollup to v4

chore(deps): update dependency rollup to v4 #961

Workflow file for this run

name: Node CI
on: [push]
jobs:
check-and-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Use Node.js latest
uses: actions/setup-node@v2-beta
with:
node-version: "*"
- name: Install dependencies
run: |
yarn install
yarn check
- name: Build artifact
run: |
yarn build
- name: Upload artifact
uses: actions/upload-artifact@v2
with:
name: bundled
path: dist
test:
needs: check-and-build
runs-on: ${{ matrix.os }}
strategy:
matrix:
node-version: [10.x]
os: [ubuntu-latest, windows-latest, macOS-latest]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2-beta
with:
node-version: ${{ matrix.node-version }}
- name: Get test dependencies versions
id: test-dep-versions
run: |
echo "::set-output name=postcss-tape::$(node scripts/get-dev-deps postcss-tape)"
echo "::set-output name=postcss::$(node scripts/get-dev-deps postcss)"
- name: yarn install
run: |
yarn workspaces focus -A --production
yarn add --dev postcss-tape@${{ steps.test-dep-versions.outputs.postcss-tape }} postcss@${{ steps.test-dep-versions.outputs.postcss }}
- name: Download artifact
uses: actions/download-artifact@v2
with:
name: bundled
path: dist
- name: Test
run: |
yarn test:tape