Fork of github.com/did-method-plc/did-method-plc
1name: build-test-verify 2on: 3 pull_request: 4 push: 5 branches: 6 - main 7concurrency: 8 group: '${{ github.workflow }}-${{ github.head_ref || github.ref }}' 9 cancel-in-progress: true 10jobs: 11 build: 12 runs-on: ubuntu-latest 13 steps: 14 - uses: actions/checkout@v3 15 - uses: actions/setup-node@v3 16 with: 17 node-version: 18 18 cache: "yarn" 19 - run: yarn install --frozen-lockfile 20 - run: yarn build 21 test: 22 runs-on: ubuntu-latest 23 steps: 24 - uses: actions/checkout@v3 25 - uses: actions/setup-node@v3 26 with: 27 node-version: 18 28 cache: "yarn" 29 - run: yarn install --frozen-lockfile 30 - run: yarn test 31 verify: 32 runs-on: ubuntu-latest 33 steps: 34 - uses: actions/checkout@v3 35 - uses: actions/setup-node@v3 36 with: 37 node-version: 18 38 cache: "yarn" 39 - run: yarn install --frozen-lockfile 40 - run: yarn verify