have to mock the build as I don't have access to the GH_PACKAGE_REGIS… #2
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: PR and Merge Workflow | |
on: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
- auto-test | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js | |
uses: actions/setup-node@v4 | |
with: | |
always-auth: true | |
node-version: 18 | |
registry-url: https://npm.pkg.github.com | |
scope: '@secretkeylabs' | |
cache: npm | |
- name: Test UI | |
run: | | |
cd autotests | |
npm install | |
DEBUG=pw:api xvfb-run --auto-servernum --server-args="-screen 0 1024x768x24" npm test |