Bump the all-dependencies group with 1 update #2189
Workflow file for this run
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: | |
- 'main' | |
pull_request: | |
workflow_dispatch: | |
concurrency: | |
group: browserstack-test | |
jobs: | |
build-and-test: | |
name: 'Build & Test' | |
runs-on: ubuntu-latest | |
steps: | |
- name: check out | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 1 | |
- name: setup node | |
uses: actions/setup-node@v4.0.0 | |
with: | |
node-version: 20 | |
cache: 'npm' | |
# https://github.com/Automattic/node-canvas/wiki/Installation:-Arch-based-distributions | |
- run: | | |
sudo apt-get update | |
sudo apt-get install build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev | |
- run: make build | |
- run: make install | |
- run: cd packages/core-web-generator && npm run test | |
- run: cd packages/babel-plugin-core-web && npm run test | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: 'stable' | |
- run: go install ./scripts/... | |
- run: core-web-browserstack | |
env: | |
BROWSERSTACK_USERNAME: ${{ secrets.BROWSERSTACK_USERNAME }} | |
BROWSERSTACK_ACCESS_KEY: ${{ secrets.BROWSERSTACK_ACCESS_KEY }} | |
validate-pages-worker: | |
name: Validate Pages Worker | |
runs-on: ubuntu-latest | |
steps: | |
- name: check out | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 1 | |
- name: validate | |
uses: cloudflare/wrangler-action@2.0.0 | |
with: | |
apiToken: ${{ secrets.CF_API_TOKEN }} | |
wranglerVersion: '1.13.0' | |
workingDirectory: 'packages/pages-worker' | |
command: build |