Replaced the cloudflare worker examples with an updated version #20
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
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
types: [opened, edited] | |
branches: | |
- master | |
workflow_dispatch: | |
jobs: | |
test-on-ubuntu: | |
name: Testing Workflow Linux | |
runs-on: ubuntu-latest | |
env: | |
SIGNER_CERT: ${{ secrets.SIGNER_CERT }} | |
SIGNER_KEY: ${{ secrets.SIGNER_KEY }} | |
WWDR: ${{ secrets.WWDR }} | |
SIGNER_KEY_PASSPHRASE: ${{ secrets.SIGNER_KEY_PASSPHRASE }} | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: "14.x" | |
check-latest: true | |
- run: | | |
npm install | |
npm run build | |
npm run test |